34 </table> |
34 </table> |
35 <h3>Functions</h3> |
35 <h3>Functions</h3> |
36 <table> |
36 <table> |
37 <tr> |
37 <tr> |
38 <td><a href="#initDebugger">initDebugger</a></td> |
38 <td><a href="#initDebugger">initDebugger</a></td> |
39 <td>Module function to initialize a debugger for remote debugging.</td> |
39 <td>Module function to initialize a debugger for remote debugging.</td> |
40 </tr><tr> |
40 </tr><tr> |
41 <td><a href="#runcall">runcall</a></td> |
41 <td><a href="#runcall">runcall</a></td> |
42 <td>Module function mimicing the Pdb interface.</td> |
42 <td>Module function mimicing the Pdb interface.</td> |
43 </tr><tr> |
43 </tr><tr> |
44 <td><a href="#setScriptname">setScriptname</a></td> |
44 <td><a href="#setScriptname">setScriptname</a></td> |
45 <td>Module function to set the scriptname to be reported back to the IDE.</td> |
45 <td>Module function to set the scriptname to be reported back to the IDE.</td> |
46 </tr><tr> |
46 </tr><tr> |
47 <td><a href="#startDebugger">startDebugger</a></td> |
47 <td><a href="#startDebugger">startDebugger</a></td> |
48 <td>Module function used to start the remote debugger.</td> |
48 <td>Module function used to start the remote debugger.</td> |
49 </tr> |
49 </tr> |
50 </table> |
50 </table> |
51 <hr /><hr /> |
51 <hr /><hr /> |
52 <a NAME="initDebugger" ID="initDebugger"></a> |
52 <a NAME="initDebugger" ID="initDebugger"></a> |
53 <h2>initDebugger</h2> |
53 <h2>initDebugger</h2> |
54 <b>initDebugger</b>(<i>kind = "standard"</i>) |
54 <b>initDebugger</b>(<i>kind = "standard"</i>) |
55 <p> |
55 <p> |
56 Module function to initialize a debugger for remote debugging. |
56 Module function to initialize a debugger for remote debugging. |
57 </p><dl> |
57 </p><dl> |
58 <dt><i>kind</i></dt> |
58 <dt><i>kind</i></dt> |
59 <dd> |
59 <dd> |
60 type of debugger ("standard" or "threads") |
60 type of debugger ("standard" or "threads") |
61 </dd> |
61 </dd> |
62 </dl><dl> |
62 </dl><dl> |
63 <dt>Returns:</dt> |
63 <dt>Returns:</dt> |
64 <dd> |
64 <dd> |
65 flag indicating success (boolean) |
65 flag indicating success (boolean) |
66 </dd> |
66 </dd> |
67 </dl> |
67 </dl> |
68 <div align="right"><a href="#top">Up</a></div> |
68 <div align="right"><a href="#top">Up</a></div> |
69 <hr /><hr /> |
69 <hr /><hr /> |
70 <a NAME="runcall" ID="runcall"></a> |
70 <a NAME="runcall" ID="runcall"></a> |
71 <h2>runcall</h2> |
71 <h2>runcall</h2> |
72 <b>runcall</b>(<i>func, *args</i>) |
72 <b>runcall</b>(<i>func, *args</i>) |
73 <p> |
73 <p> |
74 Module function mimicing the Pdb interface. |
74 Module function mimicing the Pdb interface. |
75 </p><dl> |
75 </p><dl> |
76 <dt><i>func</i></dt> |
76 <dt><i>func</i></dt> |
77 <dd> |
77 <dd> |
78 function to be called (function object) |
78 function to be called (function object) |
79 </dd><dt><i>*args</i></dt> |
79 </dd><dt><i>*args</i></dt> |
80 <dd> |
80 <dd> |
81 arguments being passed to func |
81 arguments being passed to func |
82 </dd> |
82 </dd> |
83 </dl><dl> |
83 </dl><dl> |
84 <dt>Returns:</dt> |
84 <dt>Returns:</dt> |
85 <dd> |
85 <dd> |
86 the function result |
86 the function result |
87 </dd> |
87 </dd> |
88 </dl> |
88 </dl> |
89 <div align="right"><a href="#top">Up</a></div> |
89 <div align="right"><a href="#top">Up</a></div> |
90 <hr /><hr /> |
90 <hr /><hr /> |
91 <a NAME="setScriptname" ID="setScriptname"></a> |
91 <a NAME="setScriptname" ID="setScriptname"></a> |
92 <h2>setScriptname</h2> |
92 <h2>setScriptname</h2> |
93 <b>setScriptname</b>(<i>name</i>) |
93 <b>setScriptname</b>(<i>name</i>) |
94 <p> |
94 <p> |
95 Module function to set the scriptname to be reported back to the IDE. |
95 Module function to set the scriptname to be reported back to the IDE. |
96 </p><dl> |
96 </p><dl> |
97 <dt><i>name</i></dt> |
97 <dt><i>name</i></dt> |
98 <dd> |
98 <dd> |
99 absolute pathname of the script (string) |
99 absolute pathname of the script (string) |
100 </dd> |
100 </dd> |
101 </dl> |
101 </dl> |
102 <div align="right"><a href="#top">Up</a></div> |
102 <div align="right"><a href="#top">Up</a></div> |
103 <hr /><hr /> |
103 <hr /><hr /> |
104 <a NAME="startDebugger" ID="startDebugger"></a> |
104 <a NAME="startDebugger" ID="startDebugger"></a> |
105 <h2>startDebugger</h2> |
105 <h2>startDebugger</h2> |
106 <b>startDebugger</b>(<i>enableTrace = True, exceptions = True, tracePython = False, redirect = True</i>) |
106 <b>startDebugger</b>(<i>enableTrace = True, exceptions = True, tracePython = False, redirect = True</i>) |
107 <p> |
107 <p> |
108 Module function used to start the remote debugger. |
108 Module function used to start the remote debugger. |
109 </p><dl> |
109 </p><dl> |
110 <dt><i>enableTrace=</i></dt> |
110 <dt><i>enableTrace=</i></dt> |
111 <dd> |
111 <dd> |
112 flag to enable the tracing function (boolean) |
112 flag to enable the tracing function (boolean) |
113 </dd><dt><i>exceptions=</i></dt> |
113 </dd><dt><i>exceptions=</i></dt> |
114 <dd> |
114 <dd> |
115 flag to enable exception reporting of the IDE (boolean) |
115 flag to enable exception reporting of the IDE (boolean) |
116 </dd><dt><i>tracePython=</i></dt> |
116 </dd><dt><i>tracePython=</i></dt> |
117 <dd> |
117 <dd> |
118 flag to enable tracing into the Python library (boolean) |
118 flag to enable tracing into the Python library (boolean) |
119 </dd><dt><i>redirect=</i></dt> |
119 </dd><dt><i>redirect=</i></dt> |
120 <dd> |
120 <dd> |
121 flag indicating redirection of stdin, stdout and stderr (boolean) |
121 flag indicating redirection of stdin, stdout and stderr (boolean) |
122 </dd> |
122 </dd> |
123 </dl> |
123 </dl> |
124 <div align="right"><a href="#top">Up</a></div> |
124 <div align="right"><a href="#top">Up</a></div> |
125 <hr /> |
125 <hr /> |
126 </body></html> |
126 </body></html> |