Simon python tracing how to

Insert stop point

Insert this into the code:

import pdb; pdb.set_trace()

Interactive daemon

To get to interactive shell, run the daemon that runs into the debug code in the foreground or with high verbosity: zopectl stop;zopectl fg zenhub stop;zenhub run -v 10 zenmodeler stop;zenmodeler run -v 10

Commands

    l - list code
    n - execute next line
 
technology/zenoss/trace_debug_code.txt · Last modified: 08.24.2010 12:33 by 72.81.253.234
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki