diff options
| author | Gaëtan Gilbert | 2019-05-22 17:27:00 +0200 |
|---|---|---|
| committer | Gaëtan Gilbert | 2019-05-22 21:09:04 +0200 |
| commit | 56b5d6792962a857f116a2fd62022fe7ae37ae19 (patch) | |
| tree | 40b91522c8e6a5342e6b0e6e0c166438dc62e6ea /dev/doc | |
| parent | 5c5bd952e9c28c3acf740fcdced03b2b7145076d (diff) | |
Better dune ocamldebug integration
- use coqc instead of coqtop (since -compile doesn't work anymore this
is better)
- pass through extra arguments to dune-dbg
- auto detect the need to pass -emacs to ocamldebug
- instructions for emacs users
The dune-dbg dependencies are still broken ;_;
Diffstat (limited to 'dev/doc')
| -rw-r--r-- | dev/doc/build-system.dune.md | 6 |
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: |
