1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-20 19:50:24 +02:00

Clarify --debug' vs. --no-debug'.

* module/ice-9/command-line.scm (*usage*): Attempt to suggest that
  `--no-debug' doesn't inhibit debugging support.

* doc/ref/guile-invoke.texi (Command-line Options): Make it clear that
  `--no-debug' doesn't inhibit debugging support.  Reported by Manuel
  Serrano.
This commit is contained in:
Ludovic Courtès 2011-09-09 00:02:17 +02:00
parent f9c1b8278d
commit c8286111e0
2 changed files with 8 additions and 2 deletions

View file

@ -156,6 +156,12 @@ interactive session. When executing a script with @option{-s} or
Do not use the debugging VM engine, even when entering an interactive Do not use the debugging VM engine, even when entering an interactive
session. session.
Note that, despite the name, Guile running with @option{--no-debug}
@emph{does} support the usual debugging facilities, such as printing a
detailed backtrace upon error. The only difference with
@option{--debug} is lack of support for VM hooks and the facilities that
build upon it (see above).
@item -q @item -q
@cindex init file, not loading @cindex init file, not loading
@cindex @file{.guile} file, not loading @cindex @file{.guile} file, not loading

View file

@ -122,8 +122,8 @@ If FILE begins with `-' the -s switch is mandatory.
-e FUNCTION after reading script, apply FUNCTION to -e FUNCTION after reading script, apply FUNCTION to
command line arguments command line arguments
-ds do -s script at this point -ds do -s script at this point
--debug start with debugging evaluator and backtraces --debug start with the \"debugging\" VM engine
--no-debug start with normal evaluator --no-debug start with the normal VM engine, which also supports debugging
Default is to enable debugging for interactive Default is to enable debugging for interactive
use, but not for `-s' and `-c'. use, but not for `-s' and `-c'.
--auto-compile compile source files automatically --auto-compile compile source files automatically