On Tue, Dec 14, 2010 at 10:18 PM, Lorin Rivers <lriv...@mosasaur.com> wrote: > ipython web2py.py -a 1234 -i 127.0.0.1 -p 8000
ipython != ipdb ipdb is an embedded shell + debugger. ipython is just a shell. I used to be able to use the ipython's embedded shell in my projects, but that didn't work in some situations, so I found ipdb. Basically, it opens up the ipython shell wherever you insert that statement I wrote in the previous reply: import ipdb; ipdb.set_trace() So if you have a method called index(), you could: def index(): # do something import ipdb; ipdb.set_trace() # continue doing what you usually do # there might be a bug in here somewhere return dict(...) -- Branko Vukelić bg.bra...@gmail.com stu...@brankovukelic.com Check out my blog: http://www.brankovukelic.com/ Check out my portfolio: http://www.flickr.com/photos/foxbunny/ Registered Linux user #438078 (http://counter.li.org/) I hang out on identi.ca: http://identi.ca/foxbunny Gimp Brushmakers Guild http://bit.ly/gbg-group