[R] undebug all

Prof Brian Ripley ripley at stats.ox.ac.uk
Sat May 7 17:09:49 CEST 2005


On Sat, 7 May 2005, Fernando Saldanha wrote:

> Is there a fast way to undebug() all functions that are currently
> being debugged in all environments?

I guess you mean `marked for debugging' and not `currently being executed 
under a browser started by being marked for debug'?

Debugging is a property of a function object (a bit in the sxpinfo) 
and so you would have to traverse all reachable objects (as gc does) to 
find them all.

AFAIK once a function has been entered you cannot turn off debugging for 
it.

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




More information about the R-help mailing list