Forum Archive

Debugger?

mr88cet

Question: Does Pythonista include a debugger? If so, I haven't managed to locate it yet, but then again, I'm pretty new to Python in general, and to Pythonista in particular.

In particular, ways of setting breakpoints, seeing where in the code it's executing, single-stepping into vs. over method calls, viewing expressions, watchpoints on data change, and so forth?

ccc
import pdb ; print(dir(pdb))
Phuket2

@ccc , your summer holiday project to create a ui :)

mr88cet

Ah, OK, good deal, thanks!

Also, just for the record:

 https://docs.python.org/2/library/pdb.html
eric

nice, I wasn't aware of the pdb module!

mr88cet

@eric said:

nice, I wasn't aware of the pdb module!

I suspect I'll be needing it. Never buy a pencil without an eraser!

JonB

import pdb; pdb.pm() i have it on speed dial!

mr88cet

@Phuket2 said:

@ccc , your summer holiday project to create a ui :)

That would indeed be wonderful!