bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: {debug,read,readline,print}-{set!,disable,enable}


From: Andy Wingo
Subject: Re: {debug,read,readline,print}-{set!,disable,enable}
Date: Fri, 20 May 2011 11:57:04 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

On Fri 29 Apr 2011 14:12, Wolfgang J Moeller <address@hidden> writes:

> In fact, {debug,print,read}-set! are macros that want "option-name" to
> be a literal symbol, while {debug,read}-{en,dis}able are procedures
> indeed (apparently taking multiple arguments) that want the
> "option-name"[s] to be quoted symbol[s].

Indeed; nasty, but it's what we've got.  Fixed the docs.

> [Noticed while looking for something like V1 (debug-disable 'debug)
> that might speed up execution.]

It's spelled `--no-debug'; see "Invoking Guile".

  `--debug'
       Start with the debugging virtual machine engine.  Using the
       debugging VM will enable support for VM hooks, which are needed
       for tracing, breakpoints, and accurate call counts when profiling.
       The debugging VM is slower than the regular VM, though, by about
       10 percent.  *Note VM Hooks::, for more information.

       By default, the debugging VM engine is only used when entering an
       interactive session.  When executing a script with `-s' or `-c',
       the normal, faster VM is used by default.

  `--no-debug'
       Do not use the debugging VM engine, even when entering an
       interactive session.

Also note that git is about 10-20% faster than 2.0.1.

Andy
-- 
http://wingolog.org/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]