5 <link rel="stylesheet" href="styles.css"> |
5 <link rel="stylesheet" href="styles.css"> |
6 </head> |
6 </head> |
7 <body> |
7 <body> |
8 <a NAME="top" ID="top"></a> |
8 <a NAME="top" ID="top"></a> |
9 <h1>eric7.DebugClients.Python.eric7dbgstub</h1> |
9 <h1>eric7.DebugClients.Python.eric7dbgstub</h1> |
10 |
|
11 <p> |
10 <p> |
12 Module implementing a debugger stub for remote debugging. |
11 Module implementing a debugger stub for remote debugging. |
13 </p> |
12 </p> |
|
13 |
14 <h3>Global Attributes</h3> |
14 <h3>Global Attributes</h3> |
|
15 <table> |
|
16 <tr><td>__scriptname</td></tr> |
|
17 <tr><td>debugger</td></tr> |
|
18 <tr><td>ericpath</td></tr> |
|
19 </table> |
15 |
20 |
16 <table> |
|
17 <tr><td>__scriptname</td></tr><tr><td>debugger</td></tr><tr><td>ericpath</td></tr> |
|
18 </table> |
|
19 <h3>Classes</h3> |
21 <h3>Classes</h3> |
20 |
|
21 <table> |
22 <table> |
22 <tr><td>None</td></tr> |
23 <tr><td>None</td></tr> |
23 </table> |
24 </table> |
|
25 |
24 <h3>Functions</h3> |
26 <h3>Functions</h3> |
25 |
|
26 <table> |
27 <table> |
27 |
|
28 <tr> |
28 <tr> |
29 <td><a href="#initDebugger">initDebugger</a></td> |
29 <td><a href="#initDebugger">initDebugger</a></td> |
30 <td>Module function to initialize a debugger for remote debugging.</td> |
30 <td>Module function to initialize a debugger for remote debugging.</td> |
31 </tr> |
31 </tr> |
32 <tr> |
32 <tr> |
40 <tr> |
40 <tr> |
41 <td><a href="#startDebugger">startDebugger</a></td> |
41 <td><a href="#startDebugger">startDebugger</a></td> |
42 <td>Module function used to start the remote debugger.</td> |
42 <td>Module function used to start the remote debugger.</td> |
43 </tr> |
43 </tr> |
44 </table> |
44 </table> |
|
45 |
45 <hr /> |
46 <hr /> |
46 <hr /> |
47 <hr /> |
47 <a NAME="initDebugger" ID="initDebugger"></a> |
48 <a NAME="initDebugger" ID="initDebugger"></a> |
48 <h2>initDebugger</h2> |
49 <h2>initDebugger</h2> |
49 <b>initDebugger</b>(<i>kind="standard"</i>) |
50 <b>initDebugger</b>(<i>kind="standard"</i>) |
50 |
|
51 <p> |
51 <p> |
52 Module function to initialize a debugger for remote debugging. |
52 Module function to initialize a debugger for remote debugging. |
53 </p> |
53 </p> |
|
54 |
54 <dl> |
55 <dl> |
55 |
56 |
56 <dt><i>kind</i> (str)</dt> |
57 <dt><i>kind</i> (str)</dt> |
57 <dd> |
58 <dd> |
58 type of debugger ("standard" or "threads") |
59 type of debugger ("standard" or "threads") |
114 <hr /> |
115 <hr /> |
115 <hr /> |
116 <hr /> |
116 <a NAME="setScriptname" ID="setScriptname"></a> |
117 <a NAME="setScriptname" ID="setScriptname"></a> |
117 <h2>setScriptname</h2> |
118 <h2>setScriptname</h2> |
118 <b>setScriptname</b>(<i>name</i>) |
119 <b>setScriptname</b>(<i>name</i>) |
119 |
|
120 <p> |
120 <p> |
121 Module function to set the script name to be reported back to the IDE. |
121 Module function to set the script name to be reported back to the IDE. |
122 </p> |
122 </p> |
|
123 |
123 <dl> |
124 <dl> |
124 |
125 |
125 <dt><i>name</i> (str)</dt> |
126 <dt><i>name</i> (str)</dt> |
126 <dd> |
127 <dd> |
127 absolute path name of the script |
128 absolute path name of the script |
131 <hr /> |
132 <hr /> |
132 <hr /> |
133 <hr /> |
133 <a NAME="startDebugger" ID="startDebugger"></a> |
134 <a NAME="startDebugger" ID="startDebugger"></a> |
134 <h2>startDebugger</h2> |
135 <h2>startDebugger</h2> |
135 <b>startDebugger</b>(<i>enableTrace=True, exceptions=True, tracePython=False, redirect=True</i>) |
136 <b>startDebugger</b>(<i>enableTrace=True, exceptions=True, tracePython=False, redirect=True</i>) |
136 |
|
137 <p> |
137 <p> |
138 Module function used to start the remote debugger. |
138 Module function used to start the remote debugger. |
139 </p> |
139 </p> |
|
140 |
140 <dl> |
141 <dl> |
141 |
142 |
142 <dt><i>enableTrace</i> (bool)</dt> |
143 <dt><i>enableTrace</i> (bool)</dt> |
143 <dd> |
144 <dd> |
144 flag to enable the tracing function |
145 flag to enable the tracing function |