On Thu, Jun 18, 2009 at 8:38 PM, Nick Alexander<ncalexan...@gmail.com> wrote: > > > On 18-Jun-09, at 10:50 AM, Carlo Hamalainen wrote: > >> >> Hi, >> >> I'm curious about which debugging environment is most popular among >> the Sage developers? >> >> * print statements only (ugh) >> * pdb >> * ddd >> * Eric4 >> * something else? > > I use print statements and pdb (both from within emacs). I miss the > ability to set breakpoints :( >
I use print statements and pdb, both from the command line. I sometimes set breakpoints by putting "1/0" in my code. Sometimes I use the trace command in Sage. I use gdb for Cython code. I think %prun (the profiler) is also often useful, to see what is being called. My most important debugging tool is logical deduction using my brain. -- William --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---