aboutsummaryrefslogtreecommitdiff
path: root/dev/doc
diff options
context:
space:
mode:
authorEmilio Jesus Gallego Arias2019-05-23 14:55:38 +0200
committerEmilio Jesus Gallego Arias2019-05-23 14:55:38 +0200
commit11b8b33f1d7d7fe3f29c83745cc2c06b121a3fb0 (patch)
tree1bc7c4bc1985b16491261cbaaf91b9438a9ca929 /dev/doc
parenta559c7b6de7854f46ed42869c6100f3751d36ade (diff)
parent56b5d6792962a857f116a2fd62022fe7ae37ae19 (diff)
Merge PR #10214: Better dune ocamldebug integration
Reviewed-by: ejgallego
Diffstat (limited to 'dev/doc')
-rw-r--r--dev/doc/build-system.dune.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/dev/doc/build-system.dune.md b/dev/doc/build-system.dune.md
index 49251d61a1..372e40a0b7 100644
--- a/dev/doc/build-system.dune.md
+++ b/dev/doc/build-system.dune.md
@@ -108,14 +108,14 @@ automatically.
You can use `ocamldebug` with Dune; after a build, do:
```
-dune exec dev/dune-dbg
+dune exec dev/dune-dbg /path/to/foo.v
(ocd) source dune_db
```
or
```
-dune exec dev/dune-dbg checker
+dune exec dev/dune-dbg checker Foo
(ocd) source dune_db
```
@@ -124,6 +124,8 @@ refined, so you need to build enough of Coq once to use this target
[it will then correctly compute the deps and rebuild if you call the
script again] This will be fixed in the future.
+For running in emacs, use `coqdev-ocamldebug` from `coqdev.el`.
+
## Dropping from coqtop:
After doing `make -f Makefile.dune voboot`, the following commands should work: