Skip to content

Commit 1e0a9de

Browse files
authored
Merge pull request #1251 from FungOliver/Fix-debugger
Update for Earlybird usage
2 parents 1be498c + 5784ffe commit 1e0a9de

File tree

5 files changed

+16
-13
lines changed

5 files changed

+16
-13
lines changed

docs/developer-guide/debugging.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ The configuration file has to be named `launch.json` and must reside in the `./.
8585
"configurations": [
8686
{
8787
"name": "Goblint",
88-
"type": "ocamlearlybird",
88+
"type": "ocaml.earlybird",
8989
"request": "launch",
9090
"program": "${workspaceFolder}/goblint.byte",
9191
"arguments": [
@@ -97,7 +97,8 @@ The configuration file has to be named `launch.json` and must reside in the `./.
9797
]
9898
}
9999
```
100-
Note that the individual arguments to Goblint should be passed here as separate strings that do not contain spaces.
100+
Note that the individual arguments to Goblint should be passed here as separate strings that do not contain spaces. Finally, to enable breakpoints uncomment `(map_workspace_root false)` in the dune-project file.
101+
101102

102103
### Running Goblint in the VS Code Debugger
103104

dune-project

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
(lang dune 3.6)
1+
(lang dune 3.7)
22
(using dune_site 0.1)
33
(cram enable)
44
(name goblint)
@@ -64,3 +64,5 @@
6464
(share lib)
6565
(share conf))
6666
)
67+
68+
; (map_workspace_root false) ;uncomment to enable breakpoints

goblint.opam

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ homepage: "https://goblint.in.tum.de"
1919
doc: "https://goblint.readthedocs.io/en/latest/"
2020
bug-reports: "https://github.com/goblint/analyzer/issues"
2121
depends: [
22-
"dune" {>= "3.6"}
22+
"dune" {>= "3.7"}
2323
"ocaml" {>= "4.10"}
2424
"goblint-cil" {>= "2.0.2"}
2525
"batteries" {>= "3.5.0"}

goblint.opam.locked

+8-8
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,12 @@ depends: [
5050
"cpu" {= "2.0.0"}
5151
"csexp" {= "1.5.1"}
5252
"ctypes" {= "0.20.1"}
53-
"dune" {= "3.6.1"}
54-
"dune-build-info" {= "3.6.1"}
55-
"dune-configurator" {= "3.6.1"}
56-
"dune-private-libs" {= "3.6.1"}
57-
"dune-site" {= "3.6.1"}
58-
"dyn" {= "3.6.1"}
53+
"dune" {= "3.7.1"}
54+
"dune-build-info" {= "3.7.1"}
55+
"dune-configurator" {= "3.7.1"}
56+
"dune-private-libs" {= "3.7.1"}
57+
"dune-site" {= "3.7.1"}
58+
"dyn" {= "3.7.1"}
5959
"fileutils" {= "0.6.4"}
6060
"fmt" {= "0.9.0"}
6161
"fpath" {= "0.7.3"}
@@ -76,7 +76,7 @@ depends: [
7676
"ocamlfind" {= "1.9.5"}
7777
"odoc" {= "2.2.0" & with-doc}
7878
"odoc-parser" {= "2.0.0" & with-doc}
79-
"ordering" {= "3.6.1"}
79+
"ordering" {= "3.7.1"}
8080
"ounit2" {= "2.2.6" & with-test}
8181
"pp" {= "1.1.2"}
8282
"ppx_derivers" {= "1.2.1"}
@@ -93,7 +93,7 @@ depends: [
9393
"sexplib0" {= "v0.15.1"}
9494
"sha" {= "1.15.2"}
9595
"stdlib-shims" {= "0.3.0"}
96-
"stdune" {= "3.6.1"}
96+
"stdune" {= "3.7.1"}
9797
"stringext" {= "1.6.0"}
9898
"topkg" {= "1.0.6"}
9999
"tyxml" {= "4.5.0" & with-doc}

0 commit comments

Comments
 (0)