diff options
| author | herbelin | 2001-12-19 09:56:16 +0000 |
|---|---|---|
| committer | herbelin | 2001-12-19 09:56:16 +0000 |
| commit | d3d8e2b31e71dfa87ce747e410f974a51a4fa272 (patch) | |
| tree | 8bc0fcc7dae2cf2fffcf06048339c257f080ecda /dev/deboguage.txt | |
| parent | fc99b5ec19731b63c0d27f72bad27b02c0139a45 (diff) | |
Réorganisation
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@2331 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'dev/deboguage.txt')
| -rw-r--r-- | dev/deboguage.txt | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/dev/deboguage.txt b/dev/deboguage.txt new file mode 100644 index 0000000000..eea7a0bc1f --- /dev/null +++ b/dev/deboguage.txt @@ -0,0 +1,30 @@ + +Debuggage +========= + + dans Emacs. nécessite le mode tuareg. + Coq doit être configuré avec -debug et -local (./configure -debug -local) + + 1. M-x camldebug + 2. spécifier le binaire coqtop.byte + 3. spécifier dev/ocamldebug-v7 + 4. source db (pour avoir les pretty-printers) + 5. poser ses points d'arrêts avec C-x C-a C-b (penser "add breakpoint") + directement dans le source ocaml + 6. ensuite voir le man d'ocamldebug + run + step + next + last + print x + ... + + +Profiling +========= + + Coq doit être configuré avec -profile + + 1. Lancer Coq en natif, qui doit terminer normalement (utiliser Quit + ou l'option -batch) + 2. gprof ./coqtop gmon.out |
