On Mon, Jun 22, 2009 at 10:00 PM, Ondrej Certik<ond...@certik.cz> wrote:
> On Thu, Jun 18, 2009 at 11:50 AM, Carlo
> Hamalainen<carlo.hamalai...@gmail.com> 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, sometimes I use the following trick:
>
> import IPython
> IPython.Shell.IPShell(user_ns=dict(globals(), **locals())).mainloop()
>
> which starts an ipython session at this place in the code, with all
> the locals and globals loaded, so it's easy to experiment, what went
> wrong.


I just sent a patch to ipython to make this easier:

http://lists.ipython.scipy.org/pipermail/ipython-dev/2009-June/005191.html

Ondrej

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to