Skip to content

Commit

Permalink
update dune-project and documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
FungOliver committed Nov 17, 2023
1 parent 32be7d5 commit 9966b87
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
5 changes: 3 additions & 2 deletions docs/developer-guide/debugging.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ The configuration file has to be named `launch.json` and must reside in the `./.
"configurations": [
{
"name": "Goblint",
"type": "ocamlearlybird",
"type": "ocaml.earlybird",
"request": "launch",
"program": "${workspaceFolder}/goblint.byte",
"arguments": [
Expand All @@ -97,7 +97,8 @@ The configuration file has to be named `launch.json` and must reside in the `./.
]
}
```
Note that the individual arguments to Goblint should be passed here as separate strings that do not contain spaces.
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.


### Running Goblint in the VS Code Debugger

Expand Down
4 changes: 3 additions & 1 deletion dune-project
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(lang dune 3.6)
(lang dune 3.7)
(using dune_site 0.1)
(cram enable)
(name goblint)
Expand Down Expand Up @@ -64,3 +64,5 @@
(share lib)
(share conf))
)

; (map_workspace_root false) ;uncomment to enable breakpoints
12 changes: 6 additions & 6 deletions goblint.opam.locked
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,12 @@ depends: [
"cpu" {= "2.0.0"}
"csexp" {= "1.5.1"}
"ctypes" {= "0.20.1"}
"dune" {= "3.6.1"}
"dune-build-info" {= "3.6.1"}
"dune-configurator" {= "3.6.1"}
"dune-private-libs" {= "3.6.1"}
"dune-site" {= "3.6.1"}
"dyn" {= "3.6.1"}
"dune" {= "3.7.1"}
"dune-build-info" {= "3.7.1"}
"dune-configurator" {= "3.7.1"}
"dune-private-libs" {= "3.7.1"}
"dune-site" {= "3.7.1"}
"dyn" {= "3.7.1"}
"fileutils" {= "0.6.4"}
"fmt" {= "0.9.0"}
"fpath" {= "0.7.3"}
Expand Down

0 comments on commit 9966b87

Please sign in to comment.