64 <tr> |
64 <tr> |
65 <td><a href="#DebugThread.__init__">DebugThread</a></td> |
65 <td><a href="#DebugThread.__init__">DebugThread</a></td> |
66 <td>Constructor</td> |
66 <td>Constructor</td> |
67 </tr><tr> |
67 </tr><tr> |
68 <td><a href="#DebugThread.bootstrap">bootstrap</a></td> |
68 <td><a href="#DebugThread.bootstrap">bootstrap</a></td> |
69 <td>Private method to bootstrap the thread.</td> |
69 <td>Public method to bootstrap the thread.</td> |
70 </tr><tr> |
70 </tr><tr> |
71 <td><a href="#DebugThread.get_ident">get_ident</a></td> |
71 <td><a href="#DebugThread.get_ident">get_ident</a></td> |
72 <td>Public method to return the id of this thread.</td> |
72 <td>Public method to return the id of this thread.</td> |
73 </tr><tr> |
73 </tr><tr> |
74 <td><a href="#DebugThread.get_name">get_name</a></td> |
74 <td><a href="#DebugThread.get_name">get_name</a></td> |
76 </tr><tr> |
76 </tr><tr> |
77 <td><a href="#DebugThread.set_ident">set_ident</a></td> |
77 <td><a href="#DebugThread.set_ident">set_ident</a></td> |
78 <td>Public method to set the id for this thread.</td> |
78 <td>Public method to set the id for this thread.</td> |
79 </tr><tr> |
79 </tr><tr> |
80 <td><a href="#DebugThread.traceThread">traceThread</a></td> |
80 <td><a href="#DebugThread.traceThread">traceThread</a></td> |
81 <td>Private method to setup tracing for this thread.</td> |
81 <td>Public method to setup tracing for this thread.</td> |
82 </tr><tr> |
82 </tr><tr> |
83 <td><a href="#DebugThread.trace_dispatch">trace_dispatch</a></td> |
83 <td><a href="#DebugThread.trace_dispatch">trace_dispatch</a></td> |
84 <td>Private method wrapping the trace_dispatch of bdb.py.</td> |
84 <td>Public method wrapping the trace_dispatch of bdb.py.</td> |
85 </tr> |
85 </tr> |
86 </table> |
86 </table> |
87 <h3>Static Methods</h3> |
87 <h3>Static Methods</h3> |
88 <table> |
88 <table> |
89 <tr><td>None</td></tr> |
89 <tr><td>None</td></tr> |
112 </dd> |
112 </dd> |
113 </dl><a NAME="DebugThread.bootstrap" ID="DebugThread.bootstrap"></a> |
113 </dl><a NAME="DebugThread.bootstrap" ID="DebugThread.bootstrap"></a> |
114 <h4>DebugThread.bootstrap</h4> |
114 <h4>DebugThread.bootstrap</h4> |
115 <b>bootstrap</b>(<i></i>) |
115 <b>bootstrap</b>(<i></i>) |
116 <p> |
116 <p> |
117 Private method to bootstrap the thread. |
117 Public method to bootstrap the thread. |
118 </p><p> |
118 </p><p> |
119 It wraps the call to the user function to enable tracing |
119 It wraps the call to the user function to enable tracing |
120 before hand. |
120 before hand. |
121 </p><a NAME="DebugThread.get_ident" ID="DebugThread.get_ident"></a> |
121 </p><a NAME="DebugThread.get_ident" ID="DebugThread.get_ident"></a> |
122 <h4>DebugThread.get_ident</h4> |
122 <h4>DebugThread.get_ident</h4> |
150 </dd> |
150 </dd> |
151 </dl><a NAME="DebugThread.traceThread" ID="DebugThread.traceThread"></a> |
151 </dl><a NAME="DebugThread.traceThread" ID="DebugThread.traceThread"></a> |
152 <h4>DebugThread.traceThread</h4> |
152 <h4>DebugThread.traceThread</h4> |
153 <b>traceThread</b>(<i></i>) |
153 <b>traceThread</b>(<i></i>) |
154 <p> |
154 <p> |
155 Private method to setup tracing for this thread. |
155 Public method to setup tracing for this thread. |
156 </p><a NAME="DebugThread.trace_dispatch" ID="DebugThread.trace_dispatch"></a> |
156 </p><a NAME="DebugThread.trace_dispatch" ID="DebugThread.trace_dispatch"></a> |
157 <h4>DebugThread.trace_dispatch</h4> |
157 <h4>DebugThread.trace_dispatch</h4> |
158 <b>trace_dispatch</b>(<i>frame, event, arg</i>) |
158 <b>trace_dispatch</b>(<i>frame, event, arg</i>) |
159 <p> |
159 <p> |
160 Private method wrapping the trace_dispatch of bdb.py. |
160 Public method wrapping the trace_dispatch of bdb.py. |
161 </p><p> |
161 </p><p> |
162 It wraps the call to dispatch tracing into |
162 It wraps the call to dispatch tracing into |
163 bdb to make sure we have locked the client to prevent multiple |
163 bdb to make sure we have locked the client to prevent multiple |
164 threads from entering the client event loop. |
164 threads from entering the client event loop. |
165 </p><dl> |
165 </p><dl> |