[R] how do you know which functions are being debugged?

Gabor Grothendieck ggrothendieck at gmail.com
Sat Oct 24 02:44:44 CEST 2009


On Fri, Oct 23, 2009 at 7:06 PM, Duncan Murdoch <murdoch at stats.uwo.ca> wrote:
> Gabor Grothendieck wrote:
>>
>> On Fri, Oct 23, 2009 at 2:52 PM, Duncan Murdoch <murdoch at stats.uwo.ca>
>> wrote:
>>
>>>
>>> On 10/23/2009 2:49 PM, Andrew Yee wrote:
>>>
>>>>
>>>> Thanks everyone for the responses.  As a suggestion, wouldn't it be
>>>> useful,
>>>> that when you run isdebugged() without any parameters, it would just
>>>> report
>>>> back the functions that are being flagged for debugging?
>>>>
>>>
>>> Could you give an example of what the answer would look like?  Not all
>>> functions have names, not all names are unique, ...
>>>
>>>
>>
>> One could use the formal argument list of the function, i.e. the
>> output of args, when there is no notion of name since that is always
>> available.
>>
>
> It would actually be easier to return a copy of the whole function.  But

That`s already done when you enter debugging and I find it quite
annoying particularly when you have large functions interrupting the
flow.  I wish there were some way to limit this.




More information about the R-help mailing list