Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update for Earlybird usage #1251

Merged
merged 3 commits into from
Nov 20, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"}
sim642 marked this conversation as resolved.
Show resolved Hide resolved
"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
Loading