You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`request`| string |`"launch"` to deploy and debug, `"attach"` to debug running code |
134
+
|`program`| string | Path to the `.pe` file or directory containing assemblies |
135
+
|`device`| string | COM port (e.g., `"COM3"`) or IP address. Leave empty for auto-detect |
136
+
|`stopOnEntry`| boolean | Pause at program entry point (default: `true`) |
137
+
|`deployAssemblies`| boolean | Deploy assemblies before debugging (launch only) |
138
+
|`verbosity`| string | Logging verbosity: `"none"`, `"information"` (default), or `"debug"`|
139
+
140
+
### Device Selection
141
+
142
+
- If `device` is empty, the extension will:
143
+
- Use the last selected device if available
144
+
- Auto-select if only one device is connected
145
+
- Show a device picker if multiple devices are found
146
+
147
+
- Use the `nanoFramework: Select Debug Device` command to manually choose a device
148
+
149
+
### Troubleshooting
150
+
151
+
**Device not detected:**
152
+
153
+
- Ensure the device is properly connected and running nanoFramework firmware
154
+
- Check that the correct drivers are installed for your device
155
+
- Try unplugging and reconnecting the device
78
156
79
-
Select `nanoFramework: Check Prerequisites` to verify that all required tools are installed and properly configured on your system. This is especially helpful for macOS and Linux users to diagnose setup issues.
157
+
**Breakpoints not hitting:**
158
+
159
+
- Ensure you have build the project first!
160
+
- Ensure the deployed code matches your source files
161
+
- Adjust the path for `"program": "${workspaceFolder}/${workspaceFolderBasename}/bin/Debug"` if needed
162
+
- Rebuild the project before debugging
163
+
- Check that symbol files (.pdbx, .pdb) are present in the output directory
164
+
165
+
**Debug session won't start:**
166
+
167
+
- Verify .NET 10.0 runtime is installed
168
+
- Check the Debug Console for error messages
169
+
- Ensure no other application is using the COM port
170
+
- Change the log level to see more errors
80
171
81
172
## Requirements
82
173
83
174
You will need to make sure you'll have the following elements installed:
84
175
85
-
-[.NET 8.0](https://dotnet.microsoft.com/download/dotnet/8.0) or later
176
+
-[.NET 10.0](https://dotnet.microsoft.com/download/dotnet/10.0) or later
-**Windows only:**[Visual Studio Build Tools](https://visualstudio.microsoft.com/downloads/#build-tools-for-visual-studio-2022) with ".NET desktop build tools" workload
88
179
-**Linux/macOS only:**[mono-complete](https://www.mono-project.com/docs/getting-started/install/) with msbuild, and [nuget CLI](https://www.nuget.org/downloads)
@@ -103,9 +194,7 @@ Log out and back in for this to take effect.
103
194
> Instead install the `mono-complete` package provided by the Mono Project.
104
195
> The [preview](https://www.mono-project.com/download/preview/) version is recommended.
105
196
106
-
## Known Issues
107
-
108
-
This extension will **not** allow you to debug the device. Debug is only available on Windows with [Visual Studio](https://visualstudio.microsoft.com/downloads/) (any edition) and the [.NET nanoFramework Extension](https://marketplace.visualstudio.com/items?itemName=nanoframework.nanoFramework-VS2022-Extension) installed.
197
+
**Debugging is now supported!** See the [Debugging](#debugging) section below.
109
198
110
199
This extension works on:
111
200
@@ -115,6 +204,10 @@ This extension works on:
115
204
116
205
32-bit operating systems are not supported.
117
206
207
+
## Known Issues
208
+
209
+
Step over in debug mode is like continue so far. We're activey working on improving this. You can setup as many break points as you want, so, if you need an equivalent of setp over, you can do this!
210
+
118
211
## Developing for the VS Code extension
119
212
120
213
Documentation about development for the extension can be found [here](installation.md).
0 commit comments