Re: [Rd] How to debug reference classes?

From: A Zege <>
Date: Fri, 08 Apr 2011 08:38:12 -0700 (PDT)

Thank you very much, gentlemen. It seems reference classes will make my life much easier. I won't pretend that i fully understand the wizardry with environments that you do, but it works :). Namely the steps to mtrace a class method by doing what John and Mark outlined

   mtrace(edit, from=xx)

do the magic of starting mtrace which solves my problem for practical purposes. I was not able to make the second part of prescription related to debugging unconstructed objects work. Namely, whenever i do

 mtrace( edit, from=mEditor$def_at_refMethods)

I get
Error in parent.env(from) : the empty environment has no parent. Must be doing something wrong, but haven't yet figured what.

View this message in context:
Sent from the R devel mailing list archive at

______________________________________________ mailing list
Received on Fri 08 Apr 2011 - 15:44:16 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 08 Apr 2011 - 15:50:42 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive