--- a/Documentation/Source/eric5.DebugClients.Python.DebugThread.html Thu Jan 14 17:27:31 2010 +0000 +++ b/Documentation/Source/eric5.DebugClients.Python.DebugThread.html Thu Jan 14 18:35:52 2010 +0000 @@ -22,7 +22,7 @@ <body><a NAME="top" ID="top"></a> <h1>eric5.DebugClients.Python.DebugThread</h1> <p> -Module implementing the debug thread. +Module implementing the debug thread. </p> <h3>Global Attributes</h3> <table> @@ -32,7 +32,7 @@ <table> <tr> <td><a href="#DebugThread">DebugThread</a></td> -<td>Class implementing a debug thread.</td> +<td>Class implementing a debug thread.</td> </tr> </table> <h3>Functions</h3> @@ -43,12 +43,12 @@ <a NAME="DebugThread" ID="DebugThread"></a> <h2>DebugThread</h2> <p> - Class implementing a debug thread. + Class implementing a debug thread. </p><p> - It represents a thread in the python interpreter that we are tracing. + It represents a thread in the python interpreter that we are tracing. </p><p> - Provides simple wrapper methods around bdb for the 'owning' client to - call to step etc. + Provides simple wrapper methods around bdb for the 'owning' client to + call to step etc. </p> <h3>Derived from</h3> DebugBase @@ -60,116 +60,116 @@ <table> <tr> <td><a href="#DebugThread.__init__">DebugThread</a></td> -<td>Constructor</td> +<td>Constructor</td> </tr><tr> <td><a href="#DebugThread.bootstrap">bootstrap</a></td> -<td>Private method to bootstrap the thread.</td> +<td>Private method to bootstrap the thread.</td> </tr><tr> <td><a href="#DebugThread.get_ident">get_ident</a></td> -<td>Public method to return the id of this thread.</td> +<td>Public method to return the id of this thread.</td> </tr><tr> <td><a href="#DebugThread.get_name">get_name</a></td> -<td>Public method to return the name of this thread.</td> +<td>Public method to return the name of this thread.</td> </tr><tr> <td><a href="#DebugThread.set_ident">set_ident</a></td> -<td>Public method to set the id for this thread.</td> +<td>Public method to set the id for this thread.</td> </tr><tr> <td><a href="#DebugThread.traceThread">traceThread</a></td> -<td>Private method to setup tracing for this thread.</td> +<td>Private method to setup tracing for this thread.</td> </tr><tr> <td><a href="#DebugThread.trace_dispatch">trace_dispatch</a></td> -<td>Private method wrapping the trace_dispatch of bdb.py.</td> +<td>Private method wrapping the trace_dispatch of bdb.py.</td> </tr> </table> <a NAME="DebugThread.__init__" ID="DebugThread.__init__"></a> <h4>DebugThread (Constructor)</h4> <b>DebugThread</b>(<i>dbgClient, targ = None, args = None, kwargs = None, mainThread = 0</i>) <p> - Constructor + Constructor </p><dl> <dt><i>dbgClient</i></dt> <dd> -the owning client +the owning client </dd><dt><i>targ</i></dt> <dd> -the target method in the run thread +the target method in the run thread </dd><dt><i>args</i></dt> <dd> -arguments to be passed to the thread +arguments to be passed to the thread </dd><dt><i>kwargs</i></dt> <dd> -arguments to be passed to the thread +arguments to be passed to the thread </dd><dt><i>mainThread</i></dt> <dd> -0 if this thread is not the mainscripts thread +0 if this thread is not the mainscripts thread </dd> </dl><a NAME="DebugThread.bootstrap" ID="DebugThread.bootstrap"></a> <h4>DebugThread.bootstrap</h4> <b>bootstrap</b>(<i></i>) <p> - Private method to bootstrap the thread. + Private method to bootstrap the thread. </p><p> - It wraps the call to the user function to enable tracing - before hand. + It wraps the call to the user function to enable tracing + before hand. </p><a NAME="DebugThread.get_ident" ID="DebugThread.get_ident"></a> <h4>DebugThread.get_ident</h4> <b>get_ident</b>(<i></i>) <p> - Public method to return the id of this thread. + Public method to return the id of this thread. </p><dl> <dt>Returns:</dt> <dd> -the id of this thread (int) +the id of this thread (int) </dd> </dl><a NAME="DebugThread.get_name" ID="DebugThread.get_name"></a> <h4>DebugThread.get_name</h4> <b>get_name</b>(<i></i>) <p> - Public method to return the name of this thread. + Public method to return the name of this thread. </p><dl> <dt>Returns:</dt> <dd> -name of this thread (string) +name of this thread (string) </dd> </dl><a NAME="DebugThread.set_ident" ID="DebugThread.set_ident"></a> <h4>DebugThread.set_ident</h4> <b>set_ident</b>(<i>id</i>) <p> - Public method to set the id for this thread. + Public method to set the id for this thread. </p><dl> <dt><i>id</i></dt> <dd> -id for this thread (int) +id for this thread (int) </dd> </dl><a NAME="DebugThread.traceThread" ID="DebugThread.traceThread"></a> <h4>DebugThread.traceThread</h4> <b>traceThread</b>(<i></i>) <p> - Private method to setup tracing for this thread. + Private method to setup tracing for this thread. </p><a NAME="DebugThread.trace_dispatch" ID="DebugThread.trace_dispatch"></a> <h4>DebugThread.trace_dispatch</h4> <b>trace_dispatch</b>(<i>frame, event, arg</i>) <p> - Private method wrapping the trace_dispatch of bdb.py. + Private method wrapping the trace_dispatch of bdb.py. </p><p> - 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. + 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. </p><dl> <dt><i>frame</i></dt> <dd> -The current stack frame. +The current stack frame. </dd><dt><i>event</i></dt> <dd> -The trace event (string) +The trace event (string) </dd><dt><i>arg</i></dt> <dd> -The arguments +The arguments </dd> </dl><dl> <dt>Returns:</dt> <dd> -local trace function +local trace function </dd> </dl> <div align="right"><a href="#top">Up</a></div>