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
{{ message }}
This repository was archived by the owner on Oct 1, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,7 @@ All notable changes to this project will be documented in this file.
8
8
### Changed
9
9
10
10
- The bundled version of the Arduino CLI was updated to [version 0.31.0](https://github.com/arduino/arduino-cli/releases/tag/0.31.0). [#1606](https://github.com/microsoft/vscode-arduino/pull/1606)
11
+
- All functionality related to the `arduino` debug type was removed from the extension. The built-in debugging support was rarely used and not actively maintained. [#1610](https://github.com/microsoft/vscode-arduino/pull/1610)
Welcome to the Visual Studio Code extension for **Arduino** <sup>preview</sup> ! The Arduino extension makes it easy to develop, build, deploy and debug your Arduino sketches in Visual Studio Code, with a rich set of functionalities. These include:
5
+
Welcome to the Visual Studio Code extension for **Arduino** <sup>preview</sup> ! The Arduino extension makes it easy to develop, build, and deploy your Arduino sketches in Visual Studio Code, with a rich set of functionalities. These include:
6
6
7
7
* IntelliSense and syntax highlighting for Arduino sketches
8
8
* Verify and upload your sketches in Visual Studio Code
@@ -12,7 +12,6 @@ Welcome to the Visual Studio Code extension for **Arduino** <sup>preview</sup> !
12
12
* Snippets for sketches
13
13
* Automatic Arduino project scaffolding
14
14
* Command Palette (<kbd>F1</kbd>) integration of frequently used commands (e.g. Verify, Upload...)
15
-
* Integrated Arduino Debugging <sup>New</sup>
16
15
17
16
## Prerequisites
18
17
Either the legacy Arduino IDE or Arduino CLI are required. The recommended
@@ -121,7 +120,6 @@ The following settings are as per sketch settings of the Arduino extension. You
121
120
"port": "COM5",
122
121
"board": "adafruit:samd:adafruit_feather_m0",
123
122
"output": "../build",
124
-
"debugger": "jlink",
125
123
"prebuild": "./prebuild.sh",
126
124
"postbuild": "./postbuild.sh",
127
125
"intelliSenseGen": "global"
@@ -131,7 +129,6 @@ The following settings are as per sketch settings of the Arduino extension. You
131
129
-`port` - Name of the serial port connected to the device. Can be set by the `Arduino: Select Serial Port` command. For Mac users could be "/dev/cu.wchusbserial1420".
132
130
-`board` - Currently selected Arduino board alias. Can be set by the `Arduino: Change Board Type` command. Also, you can find the board list there.
133
131
-`output` - Arduino build output path. If not set, Arduino will create a new temporary output folder each time, which means it cannot reuse the intermediate result of the previous build leading to long verify/upload time, so it is recommended to set the field. Arduino requires that the output path should not be the workspace itself or in a subfolder of the workspace, otherwise, it may not work correctly. By default, this option is not set. It's worth noting that the contents of this file could be deleted during the build process, so pick (or create) a directory that will not store files you want to keep.
134
-
-`debugger` - The short name of the debugger that will be used when the board itself does not have a debugger and there is more than one debugger available. You can find the list of debuggers [here](https://github.com/Microsoft/vscode-arduino/blob/main/misc/debuggerUsbMapping.json). By default, this option is not set.
135
132
-`prebuild` - External command which will be invoked before any sketch build (verify, upload, ...). For details see the [Pre- and Post-Build Commands](#Pre--and-Post-Build-Commands) section.
136
133
-`postbuild` - External command to be run after the sketch has been built successfully. See the afore mentioned section for more details.
137
134
-`intelliSenseGen` - Override the global setting for auto-generation of the IntelliSense configuration (i.e. `.vscode/c_cpp_properties.json`). Three options are available:
@@ -201,24 +198,6 @@ vscode-arduino's analysis stores the result as a dedicated IntelliSense-configur
201
198
202
199
This system allows you to setup and use own IntelliSense configurations in parallel to the automatically generated configurations provided through vscode-arduino. Just add your configuration to `c_cpp_properties.json` and name it differently from the default configuration (`Arduino`), e.g. `My awesome configuration` and select it from the status bar or via the command palette command **C/C++: Select a Configuration...**
203
200
204
-
## Debugging Arduino Code <sup>preview</sup>
205
-
Before you start to debug your Arduino code, please read [this document](https://code.visualstudio.com/docs/editor/debugging) to learn about the basic mechanisms of debugging in Visual Studio Code. Also see [debugging for C++ in VSCode](https://code.visualstudio.com/docs/languages/cpp#_debugging) for further reference.
206
-
207
-
Make sure that your Arduino board can work with [STLink](http://www.st.com/en/development-tools/st-link-v2.html), [Jlink](https://www.segger.com/jlink-debug-probes.html) or [EDBG](http://www.atmel.com/webdoc/protocoldocs/ch01s01.html). The debugging support is currently fully tested with the following boards:
1. Plug in your board to your development machine properly. For those boards that do not have an on-board debugging chip, you need to use a STLink or JLink connector.
216
-
2. Go to the **Debug View** (<kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>D</kbd> *or* <kbd>Cmd</kbd> + <kbd>Shift</kbd> + <kbd>D</kbd>). and set breakpoints in your source files.
217
-
3. Press <kbd>F5</kbd> to select your debugging environment.
218
-
4. When your breakpoint is hit, you can see variables and add expression(s) to watch on the Debug Side Bar.
219
-
220
-
> To learn more about how to debug Arduino code, visit our [team blog](https://blogs.msdn.microsoft.com/iotdev/2017/05/27/debug-your-arduino-code-with-visual-studio-code/).
221
-
222
201
## Change Log
223
202
See the [Change log](https://github.com/Microsoft/vscode-arduino/blob/main/CHANGELOG.md) for details about the changes in each version.
Copy file name to clipboardExpand all lines: misc/arduinoValidator.json
-5
Original file line number
Diff line number
Diff line change
@@ -28,11 +28,6 @@
28
28
"type": "string",
29
29
"minLength": 1
30
30
},
31
-
"debugger": {
32
-
"description": "Arduino Debugger Settings",
33
-
"type": "string",
34
-
"minLength": 1
35
-
},
36
31
"intelliSenseGen": {
37
32
"description": "Disable/enable the automatic generation of the IntelliSense configuration file (c_cpp_properties.json) for this project (overrides the global setting). When set to \"global\" the global extension settings will be used.",
0 commit comments