[R] undebug all

2005-05-07 Thread Fernando Saldanha
Is there a fast way to undebug() all functions that are currently
being debugged in all environments?

Thanks.

FS

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


Re: [R] undebug all

2005-05-07 Thread Prof Brian Ripley
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,  [EMAIL PROTECTED]
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, UKFax:  +44 1865 272595
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html