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: docs/developer-guide/debugging.md
+7-4Lines changed: 7 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,14 +60,14 @@ This will create a file called `goblint.byte`.
60
60
### Debugging Goblint with VS Code
61
61
62
62
To debug OCaml programs, you can use the command line interface of `ocamldebug` or make use of the Visual Studio Code
63
-
integration provided by `hackwaly.ocamlearlybird`.
63
+
integration provided by `ocamllabs.ocaml-platform`.
64
64
In the following, we describe the steps necessary to set up this VS Code extension to
65
65
debug Goblint.
66
66
67
67
### Setting-up Earlybird
68
68
69
-
Install the [`hackwaly.ocamlearlybird` extension](https://marketplace.visualstudio.com/items?itemName=hackwaly.ocamlearlybird) in your installation of Visual Studio Code.
70
-
To be able to use this extension, you additionally need to install `ocamlearlybird` on the opam switch you use for Goblint.
69
+
Install the [`ocamllabs.ocaml-platform` extension](https://marketplace.visualstudio.com/items?itemName=ocamllabs.ocaml-platform) in your installation of Visual Studio Code.
70
+
To be able to use this extension, you additionally need to install `earlybird` on the opam switch you use for Goblint.
71
71
To do so, run the following command in the `analyzer` directory:
72
72
73
73
```console
@@ -76,7 +76,7 @@ opam install earlybird
76
76
77
77
### Providing a Launch Configuration
78
78
79
-
To let the `hackwaly.ocamlearlybird` extension know which executable it should debug, and which arguments it should pass, we have to provide a configuration file.
79
+
To let the `ocamllabs.ocaml-platform` extension know which executable it should debug, and which arguments it should pass, we have to provide a configuration file.
80
80
The configuration file has to be named `launch.json` and must reside in the `./.vscode` directory. Here is an example `launch.json`:
81
81
82
82
```JSON
@@ -92,6 +92,9 @@ The configuration file has to be named `launch.json` and must reside in the `./.
(authors "Simmo Saan""Michael Schwarz""Julian Erhard""Sarah Tilscher""Ralf Vogler""Kalmer Apinis""Vesal Vojdani"); same authors as in .zenodo.json and CITATION.cff
0 commit comments