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
Copy file name to clipboardExpand all lines: doc/vscode-ug.md
+26-1Lines changed: 26 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -311,11 +311,36 @@ to connect to your machine or board.
311
311
312
312
You will also need to run the debugging utility that spawns the remote `gdbserver` before launching the debugger in VS Code ( e.g: `st-util` or `openocd` for STM32F4 boards). This can be done directly through a VS Code `Terminal` or by configuring a custom [VS Code task](https://code.visualstudio.com/docs/editor/tasks) for that purpose.
313
313
314
-
Once your project is setup, just open the VS Code
314
+
Once your project is set up, just open the VS Code
315
315
`Run and Debug` panel and then click on the `Run and Debug` button.
316
316
317
317
For more advanced use cases or if your program cannot be debugged remotely via GDB, you can try creating your custom VS Code debug launch configuration following [VS Code User's Guide for Launch Configurations](https://code.visualstudio.com/docs/editor/debugging#_launch-configurations).
318
318
319
+
## SPARK Support
320
+
321
+
When working on a project with SPARK code, it is possible to call GNATprove through the following commands:
322
+
323
+
-`SPARK: Examine project`
324
+
-`SPARK: Examine file`
325
+
-`SPARK: Examine subprogram`
326
+
-`SPARK: Prove project`
327
+
-`SPARK: Prove file`
328
+
-`SPARK: Prove subprogram`
329
+
-`SPARK: Prove selected region`
330
+
-`SPARK: Prove line`
331
+
332
+
These commands open an interactive picker to choose options before calling GNATprove.
333
+
334
+
It is also possible to call the options picker directly with the command `SPARK: Select GNATprove options...`.
335
+
336
+

337
+
338
+
If you prefer to invoke GNATprove without choosing options interactively, the `Tasks: Run Task` command offer non-interactive task counterparts of the above commands.
339
+
340
+
Starting GNATprove 26, a SARIF report is generated and opened automatically in VS Code after execution.
0 commit comments