Amadan opened this issue on Apr 12, 2009 · 4 posts
adp001 posted Sun, 12 April 2009 at 5:11 AM
IDLE is not a debugger. It's an IDE for Python, able to set Breakpoints used with Python modul pdb (yes, the debugger is simply a standard Python modul).
Eclipse does exactly the same.
Check http://docs.python.org/library/pdb.html for a description of pdb.
<pre style="padding:.5em;margin-left:2em;background-color:rgb(224,224,224);color:rgb(0,0,0);">
pdb.py can also be invoked as a script to debug other scripts. For example:
<strong>python -m pdb myscript.py</strong>
When invoked as a script, pdb will automatically enter post-mortem debugging if the
program being debugged exits abnormally. After post-mortem debugging (or after normal
exit of the program), pdb will restart the program. Automatic restarting preserves
pdb’s state (such as breakpoints) and in most cases is more useful than quitting the
debugger upon program’s exit.
You are right: Posers Python lib is a static piece of code once loaded if Poser is started. There is no re-initializing or reloading, exept if you request "reinitialize Python" from Posers Menu.
Edit:
Don't forget to check http://docs.python.org/library/bdb.html. Modul bdb is used to handle Pythons breakpoints and such.