Module implementing the debug thread.
None |
DebugThread | Class implementing a debug thread. |
None |
Class implementing a debug thread.
It represents a thread in the python interpreter that we are tracing.
Provides simple wrapper methods around bdb for the 'owning' client to call to step etc.
None |
None |
DebugThread | Constructor |
bootstrap | Private method to bootstrap the thread. |
get_ident | Public method to return the id of this thread. |
get_name | Public method to return the name of this thread. |
set_ident | Public method to set the id for this thread. |
traceThread | Private method to setup tracing for this thread. |
trace_dispatch | Private method wrapping the trace_dispatch of bdb.py. |
None |
Constructor
Private method to bootstrap the thread.
It wraps the call to the user function to enable tracing before hand.
Public method to return the id of this thread.
Public method to return the name of this thread.
Public method to set the id for this thread.
Private method to setup tracing for this thread.
Private method wrapping the trace_dispatch of bdb.py.
It wraps the call to dispatch tracing into bdb to make sure we have locked the client to prevent multiple threads from entering the client event loop.