I haven't got the hang of the visual debugger in pydev, but what I have found most useful is the pdb module and the pdb.pm() command.
Basically, right after your program crashes type pdb.pm() (having done import pdb previously) and you enter the debugger from where you can print variables, manipulate them, run other python statements. Invaluable.
Also, typing 'up' gets you up the stack.
Basically, right after your program crashes type pdb.pm() (having done import pdb previously) and you enter the debugger from where you can print variables, manipulate them, run other python statements. Invaluable.
Also, typing 'up' gets you up the stack.
Comments
Post a Comment