1
<?xml version="1.0" encoding="utf-8"?>
2
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'
3
'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
5
<title>eric4.DebugClients.Python.eric4dbgstub</title>
9
margin: 0em 1em 10em 1em;
13
h1 { color: white; background: #4FA4FF; }
14
h2 { color: white; background: #4FA4FF; }
15
h3 { color: white; background: #00557F; }
16
h4 { color: white; background: #00557F; }
22
<body><a NAME="top" ID="top"></a>
23
<h1>eric4.DebugClients.Python.eric4dbgstub</h1>
25
Module implementing a debugger stub for remote debugging.
29
<tr><td>None</td></tr>
34
<td><a href="#initDebugger">initDebugger</a></td>
35
<td>Module function to initialize a debugger for remote debugging.</td>
37
<td><a href="#runcall">runcall</a></td>
38
<td>Module function mimicing the Pdb interface.</td>
40
<td><a href="#setScriptname">setScriptname</a></td>
41
<td>Module function to set the scriptname to be reported back to the IDE.</td>
43
<td><a href="#startDebugger">startDebugger</a></td>
44
<td>Module function used to start the remote debugger.</td>
48
<a NAME="initDebugger" ID="initDebugger"></a>
50
<b>initDebugger</b>(<i>kind="standard"</i>)
52
Module function to initialize a debugger for remote debugging.
56
type of debugger ("standard", "noqt" or "threads")
61
flag indicating success (boolean)
64
<div align="right"><a href="#top">Up</a></div>
66
<a NAME="runcall" ID="runcall"></a>
68
<b>runcall</b>(<i>func, *args</i>)
70
Module function mimicing the Pdb interface.
74
function to be called (function object)
75
</dd><dt><i>*args</i></dt>
77
arguments being passed to func
85
<div align="right"><a href="#top">Up</a></div>
87
<a NAME="setScriptname" ID="setScriptname"></a>
88
<h2>setScriptname</h2>
89
<b>setScriptname</b>(<i>name</i>)
91
Module function to set the scriptname to be reported back to the IDE.
95
absolute pathname of the script (string)
98
<div align="right"><a href="#top">Up</a></div>
100
<a NAME="startDebugger" ID="startDebugger"></a>
101
<h2>startDebugger</h2>
102
<b>startDebugger</b>(<i>enableTrace=1, redirect=1</i>)
104
Module function used to start the remote debugger.
106
<dt><i>enableTrace</i></dt>
108
flag to enable the tracing function (boolean)
109
</dd><dt><i>redirect</i></dt>
111
flag indicating redirection of stdin, stdout and stderr (boolean)
114
<div align="right"><a href="#top">Up</a></div>
b'\\ No newline at end of file'