Try this:

isDebug <- lapply(sapply(search(), lapply, ls), function(f)sapply(f,
function(.f)tryCatch(isdebugged(.f), error = function(...)FALSE)))
which(unlist(isDebug))

On Wed, Feb 16, 2011 at 10:28 PM, Shi, Tao <shida...@yahoo.com> wrote:

> Hi list,
>
> Is there a function that can let me know which functions are being
> debugged?  I
> know I'm probably not doing a very good job of keeping track of things, but
> it
> does get messier when you dig into different layers of a function.  I know
> there
> is "isdebugged", but it only works on one function at a time.
>
> Thanks!
>
> ...Tao
>
>
>
>
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



-- 
Henrique Dallazuanna
Curitiba-Paraná-Brasil
25° 25' 40" S 49° 16' 22" O

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to