On Mar 9, 2015, at 07:43 , Dima Pasechnik wrote: > On 2015-03-09, Justin C. Walker <jus...@mac.com> wrote: >> >> On Mar 9, 2015, at 05:09 , Dima Pasechnik wrote: >> >>> So far I was able to do this manually, but I am really stuck trying to >>> figure out e.g. what happens upon calling >>> >>> sage: QQ(2).is_prime() >>> >>> I vaguely recall seeing discussions and tips how to find out the actual >>> codepath in such cases. >>> >>> Could someone point me out into the right direction? >> >> Does >>> trace("QQ(2).is_prime()") >> >> help? > > hmm, I get pdb prompt: > > sage: trace("QQ(2).is_prime()") > None >> <string>(1)<module>() > > ipdb> > > well, I can step through. Is it what you meant?
Yes. I wasn't sure this was the kind of answer you wanted, but it's helped me in the past. Justin -- Justin C. Walker, Curmudgeon at Large Director Institute for the Enhancement of the Director's Income ----------- Nobody knows the trouble I've been ----------- -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.