Hi Fabio, I have put import pdb;pdb.set_trace() at the end of my "if __name__ == '__main__'" block and see this in the console, when i enter "len(sss)" (sss is a variable declared in the block):
--Return-- > /Users/jsmits/Documents/jython_src/jython/dist/Lib/pdb.py(992)set_trace()->None -> Pdb().set_trace() (Pdb) len(sss) *** NameError: sss (Pdb) So, I'm not able to access the variables. What could be wrong here? Regards, Sander. Fabio Zadrozny-2 wrote: > > Currently I think you'd have to stay in debug mode for that... so, put: > > import pdb;pdb.set_trace() > > at the point you want to inspect interactively (or you could use it from > the > pydev extensions debugger: > http://www.fabioz.com/pydev/manual_adv_debug_console.html ). > > Cheers, > > Fabio > -- View this message in context: http://www.nabble.com/inspect-interactively-after-running-script-tf4508305.html#a12858297 Sent from the pydev-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Pydev-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pydev-users
