eric6/Documentation/Source/eric6.Debugger.StartDialog.html

changeset 7273
391d6b7b1eff
parent 6942
2602857055c5
child 7887
c1588f5a83e9
equal deleted inserted replaced
7272:1779dc278077 7273:391d6b7b1eff
16 16
17 a { color: #BA6D36; } 17 a { color: #BA6D36; }
18 18
19 </style> 19 </style>
20 </head> 20 </head>
21 <body><a NAME="top" ID="top"></a> 21 <body>
22 <a NAME="top" ID="top"></a>
22 <h1>eric6.Debugger.StartDialog</h1> 23 <h1>eric6.Debugger.StartDialog</h1>
24
23 <p> 25 <p>
24 Module implementing the Start Program dialog. 26 Module implementing the Start Program dialog.
25 </p> 27 </p>
26 <h3>Global Attributes</h3> 28 <h3>Global Attributes</h3>
29
27 <table> 30 <table>
28 <tr><td>None</td></tr> 31 <tr><td>None</td></tr>
29 </table> 32 </table>
30 <h3>Classes</h3> 33 <h3>Classes</h3>
31 <table> 34
35 <table>
36
32 <tr> 37 <tr>
33 <td><a href="#StartDialog">StartDialog</a></td> 38 <td><a href="#StartDialog">StartDialog</a></td>
34 <td>Class implementing the Start Program dialog.</td> 39 <td>Class implementing the Start Program dialog.</td>
35 </tr> 40 </tr>
36 </table> 41 </table>
37 <h3>Functions</h3> 42 <h3>Functions</h3>
38 <table> 43
39 <tr><td>None</td></tr> 44 <table>
40 </table> 45 <tr><td>None</td></tr>
41 <hr /><hr /> 46 </table>
47 <hr />
48 <hr />
42 <a NAME="StartDialog" ID="StartDialog"></a> 49 <a NAME="StartDialog" ID="StartDialog"></a>
43 <h2>StartDialog</h2> 50 <h2>StartDialog</h2>
51
44 <p> 52 <p>
45 Class implementing the Start Program dialog. 53 Class implementing the Start Program dialog.
46 </p><p> 54 </p>
55 <p>
47 It implements a dialog that is used to start an 56 It implements a dialog that is used to start an
48 application for debugging. It asks the user to enter 57 application for debugging. It asks the user to enter
49 the commandline parameters, the working directory and 58 the commandline parameters, the working directory and
50 whether exception reporting should be disabled. 59 whether exception reporting should be disabled.
51 </p> 60 </p>
52 <h3>Derived from</h3> 61 <h3>Derived from</h3>
53 QDialog 62 QDialog
54 <h3>Class Attributes</h3> 63 <h3>Class Attributes</h3>
64
55 <table> 65 <table>
56 <tr><td>None</td></tr> 66 <tr><td>None</td></tr>
57 </table> 67 </table>
58 <h3>Class Methods</h3> 68 <h3>Class Methods</h3>
69
59 <table> 70 <table>
60 <tr><td>None</td></tr> 71 <tr><td>None</td></tr>
61 </table> 72 </table>
62 <h3>Methods</h3> 73 <h3>Methods</h3>
63 <table> 74
75 <table>
76
64 <tr> 77 <tr>
65 <td><a href="#StartDialog.__init__">StartDialog</a></td> 78 <td><a href="#StartDialog.__init__">StartDialog</a></td>
66 <td>Constructor</td> 79 <td>Constructor</td>
67 </tr><tr> 80 </tr>
81 <tr>
68 <td><a href="#StartDialog.__clearHistories">__clearHistories</a></td> 82 <td><a href="#StartDialog.__clearHistories">__clearHistories</a></td>
69 <td>Private slot to clear the combo boxes lists and record a flag to clear the lists.</td> 83 <td>Private slot to clear the combo boxes lists and record a flag to clear the lists.</td>
70 </tr><tr> 84 </tr>
85 <tr>
71 <td><a href="#StartDialog.__editHistory">__editHistory</a></td> 86 <td><a href="#StartDialog.__editHistory">__editHistory</a></td>
72 <td>Private slot to edit a history list.</td> 87 <td>Private slot to edit a history list.</td>
73 </tr><tr> 88 </tr>
89 <tr>
74 <td><a href="#StartDialog.clearHistories">clearHistories</a></td> 90 <td><a href="#StartDialog.clearHistories">clearHistories</a></td>
75 <td>Public method to test, if histories shall be cleared.</td> 91 <td>Public method to test, if histories shall be cleared.</td>
76 </tr><tr> 92 </tr>
93 <tr>
77 <td><a href="#StartDialog.getCoverageData">getCoverageData</a></td> 94 <td><a href="#StartDialog.getCoverageData">getCoverageData</a></td>
78 <td>Public method to retrieve the coverage related data entered into this dialog.</td> 95 <td>Public method to retrieve the coverage related data entered into this dialog.</td>
79 </tr><tr> 96 </tr>
97 <tr>
80 <td><a href="#StartDialog.getData">getData</a></td> 98 <td><a href="#StartDialog.getData">getData</a></td>
81 <td>Public method to retrieve the data entered into this dialog.</td> 99 <td>Public method to retrieve the data entered into this dialog.</td>
82 </tr><tr> 100 </tr>
101 <tr>
83 <td><a href="#StartDialog.getDebugData">getDebugData</a></td> 102 <td><a href="#StartDialog.getDebugData">getDebugData</a></td>
84 <td>Public method to retrieve the debug related data entered into this dialog.</td> 103 <td>Public method to retrieve the debug related data entered into this dialog.</td>
85 </tr><tr> 104 </tr>
105 <tr>
86 <td><a href="#StartDialog.getHistories">getHistories</a></td> 106 <td><a href="#StartDialog.getHistories">getHistories</a></td>
87 <td>Public method to get the lists of histories.</td> 107 <td>Public method to get the lists of histories.</td>
88 </tr><tr> 108 </tr>
109 <tr>
89 <td><a href="#StartDialog.getProfilingData">getProfilingData</a></td> 110 <td><a href="#StartDialog.getProfilingData">getProfilingData</a></td>
90 <td>Public method to retrieve the profiling related data entered into this dialog.</td> 111 <td>Public method to retrieve the profiling related data entered into this dialog.</td>
91 </tr><tr> 112 </tr>
113 <tr>
92 <td><a href="#StartDialog.getRunData">getRunData</a></td> 114 <td><a href="#StartDialog.getRunData">getRunData</a></td>
93 <td>Public method to retrieve the debug related data entered into this dialog.</td> 115 <td>Public method to retrieve the debug related data entered into this dialog.</td>
94 </tr><tr> 116 </tr>
117 <tr>
95 <td><a href="#StartDialog.historiesModified">historiesModified</a></td> 118 <td><a href="#StartDialog.historiesModified">historiesModified</a></td>
96 <td>Public method to test for modified histories.</td> 119 <td>Public method to test for modified histories.</td>
97 </tr><tr> 120 </tr>
121 <tr>
98 <td><a href="#StartDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> 122 <td><a href="#StartDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td>
99 <td>Private slot called by a button of the button box clicked.</td> 123 <td>Private slot called by a button of the button box clicked.</td>
100 </tr><tr> 124 </tr>
125 <tr>
101 <td><a href="#StartDialog.on_modFuncCombo_editTextChanged">on_modFuncCombo_editTextChanged</a></td> 126 <td><a href="#StartDialog.on_modFuncCombo_editTextChanged">on_modFuncCombo_editTextChanged</a></td>
102 <td>Private slot to enable/disable the OK button.</td> 127 <td>Private slot to enable/disable the OK button.</td>
103 </tr> 128 </tr>
104 </table> 129 </table>
105 <h3>Static Methods</h3> 130 <h3>Static Methods</h3>
106 <table> 131
107 <tr><td>None</td></tr> 132 <table>
108 </table> 133 <tr><td>None</td></tr>
134 </table>
135
109 <a NAME="StartDialog.__init__" ID="StartDialog.__init__"></a> 136 <a NAME="StartDialog.__init__" ID="StartDialog.__init__"></a>
110 <h4>StartDialog (Constructor)</h4> 137 <h4>StartDialog (Constructor)</h4>
111 <b>StartDialog</b>(<i>caption, lastUsedVenvName, argvList, wdList, envList, exceptions, parent=None, dialogType=0, modfuncList=None, tracePython=False, autoClearShell=True, autoContinue=True, autoFork=False, forkChild=False</i>) 138 <b>StartDialog</b>(<i>caption, lastUsedVenvName, argvList, wdList, envList, exceptions, parent=None, dialogType=0, modfuncList=None, tracePython=False, autoClearShell=True, autoContinue=True, autoFork=False, forkChild=False</i>)
139
112 <p> 140 <p>
113 Constructor 141 Constructor
114 </p><dl> 142 </p>
143 <dl>
144
115 <dt><i>caption</i> (str)</dt> 145 <dt><i>caption</i> (str)</dt>
116 <dd> 146 <dd>
117 the caption to be displayed 147 the caption to be displayed
118 </dd><dt><i>lastUsedVenvName</i> (str)</dt> 148 </dd>
149 <dt><i>lastUsedVenvName</i> (str)</dt>
119 <dd> 150 <dd>
120 name of the most recently used virtual 151 name of the most recently used virtual
121 environment 152 environment
122 </dd><dt><i>argvList</i> (list of str)</dt> 153 </dd>
154 <dt><i>argvList</i> (list of str)</dt>
123 <dd> 155 <dd>
124 history list of command line arguments 156 history list of command line arguments
125 </dd><dt><i>wdList</i> (list of str)</dt> 157 </dd>
158 <dt><i>wdList</i> (list of str)</dt>
126 <dd> 159 <dd>
127 history list of working directories 160 history list of working directories
128 </dd><dt><i>envList</i> (list of str)</dt> 161 </dd>
162 <dt><i>envList</i> (list of str)</dt>
129 <dd> 163 <dd>
130 history list of environment parameter settings 164 history list of environment parameter settings
131 </dd><dt><i>exceptions</i> (bool)</dt> 165 </dd>
166 <dt><i>exceptions</i> (bool)</dt>
132 <dd> 167 <dd>
133 exception reporting flag 168 exception reporting flag
134 </dd><dt><i>parent</i> (QWidget)</dt> 169 </dd>
170 <dt><i>parent</i> (QWidget)</dt>
135 <dd> 171 <dd>
136 parent widget of this dialog 172 parent widget of this dialog
137 </dd><dt><i>dialogType</i> (int (0 to 3))</dt> 173 </dd>
174 <dt><i>dialogType</i> (int (0 to 3))</dt>
138 <dd> 175 <dd>
139 type of the start dialog 176 type of the start dialog
140 <ul> 177 <ul>
141 <li>0 = start debug dialog</li> 178 <li>0 = start debug dialog</li>
142 <li>1 = start run dialog</li> 179 <li>1 = start run dialog</li>
143 <li>2 = start coverage dialog</li> 180 <li>2 = start coverage dialog</li>
144 <li>3 = start profile dialog</li> 181 <li>3 = start profile dialog</li>
145 </ul> 182 </ul>
146 </dd><dt><i>modfuncList=</i> (list of str)</dt> 183 </dd>
184 <dt><i>modfuncList=</i> (list of str)</dt>
147 <dd> 185 <dd>
148 history list of module functions 186 history list of module functions
149 </dd><dt><i>tracePython=</i> (bool)</dt> 187 </dd>
188 <dt><i>tracePython=</i> (bool)</dt>
150 <dd> 189 <dd>
151 flag indicating if the Python library should 190 flag indicating if the Python library should
152 be traced as well 191 be traced as well
153 </dd><dt><i>autoClearShell=</i> (bool)</dt> 192 </dd>
193 <dt><i>autoClearShell=</i> (bool)</dt>
154 <dd> 194 <dd>
155 flag indicating, that the interpreter window 195 flag indicating, that the interpreter window
156 should be cleared automatically 196 should be cleared automatically
157 </dd><dt><i>autoContinue=</i> (bool)</dt> 197 </dd>
198 <dt><i>autoContinue=</i> (bool)</dt>
158 <dd> 199 <dd>
159 flag indicating, that the debugger should not 200 flag indicating, that the debugger should not
160 stop at the first executable line 201 stop at the first executable line
161 </dd><dt><i>autoFork=</i> (bool)</dt> 202 </dd>
203 <dt><i>autoFork=</i> (bool)</dt>
162 <dd> 204 <dd>
163 flag indicating the automatic fork mode 205 flag indicating the automatic fork mode
164 </dd><dt><i>forkChild=</i> (bool)</dt> 206 </dd>
207 <dt><i>forkChild=</i> (bool)</dt>
165 <dd> 208 <dd>
166 flag indicating to debug the child after forking 209 flag indicating to debug the child after forking
167 </dd> 210 </dd>
168 </dl><a NAME="StartDialog.__clearHistories" ID="StartDialog.__clearHistories"></a> 211 </dl>
212 <a NAME="StartDialog.__clearHistories" ID="StartDialog.__clearHistories"></a>
169 <h4>StartDialog.__clearHistories</h4> 213 <h4>StartDialog.__clearHistories</h4>
170 <b>__clearHistories</b>(<i></i>) 214 <b>__clearHistories</b>(<i></i>)
215
171 <p> 216 <p>
172 Private slot to clear the combo boxes lists and record a flag to 217 Private slot to clear the combo boxes lists and record a flag to
173 clear the lists. 218 clear the lists.
174 </p><a NAME="StartDialog.__editHistory" ID="StartDialog.__editHistory"></a> 219 </p>
220 <a NAME="StartDialog.__editHistory" ID="StartDialog.__editHistory"></a>
175 <h4>StartDialog.__editHistory</h4> 221 <h4>StartDialog.__editHistory</h4>
176 <b>__editHistory</b>(<i></i>) 222 <b>__editHistory</b>(<i></i>)
223
177 <p> 224 <p>
178 Private slot to edit a history list. 225 Private slot to edit a history list.
179 </p><a NAME="StartDialog.clearHistories" ID="StartDialog.clearHistories"></a> 226 </p>
227 <a NAME="StartDialog.clearHistories" ID="StartDialog.clearHistories"></a>
180 <h4>StartDialog.clearHistories</h4> 228 <h4>StartDialog.clearHistories</h4>
181 <b>clearHistories</b>(<i></i>) 229 <b>clearHistories</b>(<i></i>)
230
182 <p> 231 <p>
183 Public method to test, if histories shall be cleared. 232 Public method to test, if histories shall be cleared.
184 </p><dl> 233 </p>
234 <dl>
185 <dt>Returns:</dt> 235 <dt>Returns:</dt>
186 <dd> 236 <dd>
187 flag indicating histories shall be cleared 237 flag indicating histories shall be cleared
188 </dd> 238 </dd>
189 </dl><dl> 239 </dl>
240 <dl>
190 <dt>Return Type:</dt> 241 <dt>Return Type:</dt>
191 <dd> 242 <dd>
192 bool 243 bool
193 </dd> 244 </dd>
194 </dl><a NAME="StartDialog.getCoverageData" ID="StartDialog.getCoverageData"></a> 245 </dl>
246 <a NAME="StartDialog.getCoverageData" ID="StartDialog.getCoverageData"></a>
195 <h4>StartDialog.getCoverageData</h4> 247 <h4>StartDialog.getCoverageData</h4>
196 <b>getCoverageData</b>(<i></i>) 248 <b>getCoverageData</b>(<i></i>)
249
197 <p> 250 <p>
198 Public method to retrieve the coverage related data entered into this 251 Public method to retrieve the coverage related data entered into this
199 dialog. 252 dialog.
200 </p><dl> 253 </p>
254 <dl>
201 <dt>Returns:</dt> 255 <dt>Returns:</dt>
202 <dd> 256 <dd>
203 flag indicating erasure of coverage info (boolean) 257 flag indicating erasure of coverage info (boolean)
204 </dd> 258 </dd>
205 </dl><a NAME="StartDialog.getData" ID="StartDialog.getData"></a> 259 </dl>
260 <a NAME="StartDialog.getData" ID="StartDialog.getData"></a>
206 <h4>StartDialog.getData</h4> 261 <h4>StartDialog.getData</h4>
207 <b>getData</b>(<i></i>) 262 <b>getData</b>(<i></i>)
263
208 <p> 264 <p>
209 Public method to retrieve the data entered into this dialog. 265 Public method to retrieve the data entered into this dialog.
210 </p><dl> 266 </p>
267 <dl>
211 <dt>Returns:</dt> 268 <dt>Returns:</dt>
212 <dd> 269 <dd>
213 a tuple of interpreter (string), argv (string), workdir 270 a tuple of interpreter (string), argv (string), workdir
214 (string), environment (string), exceptions flag (boolean), 271 (string), environment (string), exceptions flag (boolean),
215 clear interpreter flag (boolean) and run in console flag (boolean) 272 clear interpreter flag (boolean) and run in console flag (boolean)
216 </dd> 273 </dd>
217 </dl><a NAME="StartDialog.getDebugData" ID="StartDialog.getDebugData"></a> 274 </dl>
275 <a NAME="StartDialog.getDebugData" ID="StartDialog.getDebugData"></a>
218 <h4>StartDialog.getDebugData</h4> 276 <h4>StartDialog.getDebugData</h4>
219 <b>getDebugData</b>(<i></i>) 277 <b>getDebugData</b>(<i></i>)
278
220 <p> 279 <p>
221 Public method to retrieve the debug related data entered into this 280 Public method to retrieve the debug related data entered into this
222 dialog. 281 dialog.
223 </p><dl> 282 </p>
283 <dl>
224 <dt>Returns:</dt> 284 <dt>Returns:</dt>
225 <dd> 285 <dd>
226 a tuple of a flag indicating, if the Python library should be 286 a tuple of a flag indicating, if the Python library should be
227 traced as well, a flag indicating, that the debugger should not 287 traced as well, a flag indicating, that the debugger should not
228 stop at the first executable line (boolean), a flag indicating, 288 stop at the first executable line (boolean), a flag indicating,
229 that the debugger should fork automatically (boolean) and a flag 289 that the debugger should fork automatically (boolean) and a flag
230 indicating, that the debugger should debug the child process after 290 indicating, that the debugger should debug the child process after
231 forking automatically (boolean) 291 forking automatically (boolean)
232 </dd> 292 </dd>
233 </dl><a NAME="StartDialog.getHistories" ID="StartDialog.getHistories"></a> 293 </dl>
294 <a NAME="StartDialog.getHistories" ID="StartDialog.getHistories"></a>
234 <h4>StartDialog.getHistories</h4> 295 <h4>StartDialog.getHistories</h4>
235 <b>getHistories</b>(<i></i>) 296 <b>getHistories</b>(<i></i>)
297
236 <p> 298 <p>
237 Public method to get the lists of histories. 299 Public method to get the lists of histories.
238 </p><dl> 300 </p>
301 <dl>
239 <dt>Returns:</dt> 302 <dt>Returns:</dt>
240 <dd> 303 <dd>
241 tuple containing the histories of command line arguments, 304 tuple containing the histories of command line arguments,
242 working directories, environment settings and interpreters 305 working directories, environment settings and interpreters
243 </dd> 306 </dd>
244 </dl><dl> 307 </dl>
308 <dl>
245 <dt>Return Type:</dt> 309 <dt>Return Type:</dt>
246 <dd> 310 <dd>
247 tuple of four list of str 311 tuple of four list of str
248 </dd> 312 </dd>
249 </dl><a NAME="StartDialog.getProfilingData" ID="StartDialog.getProfilingData"></a> 313 </dl>
314 <a NAME="StartDialog.getProfilingData" ID="StartDialog.getProfilingData"></a>
250 <h4>StartDialog.getProfilingData</h4> 315 <h4>StartDialog.getProfilingData</h4>
251 <b>getProfilingData</b>(<i></i>) 316 <b>getProfilingData</b>(<i></i>)
317
252 <p> 318 <p>
253 Public method to retrieve the profiling related data entered into this 319 Public method to retrieve the profiling related data entered into this
254 dialog. 320 dialog.
255 </p><dl> 321 </p>
322 <dl>
256 <dt>Returns:</dt> 323 <dt>Returns:</dt>
257 <dd> 324 <dd>
258 flag indicating erasure of profiling info (boolean) 325 flag indicating erasure of profiling info (boolean)
259 </dd> 326 </dd>
260 </dl><a NAME="StartDialog.getRunData" ID="StartDialog.getRunData"></a> 327 </dl>
328 <a NAME="StartDialog.getRunData" ID="StartDialog.getRunData"></a>
261 <h4>StartDialog.getRunData</h4> 329 <h4>StartDialog.getRunData</h4>
262 <b>getRunData</b>(<i></i>) 330 <b>getRunData</b>(<i></i>)
331
263 <p> 332 <p>
264 Public method to retrieve the debug related data entered into this 333 Public method to retrieve the debug related data entered into this
265 dialog. 334 dialog.
266 </p><dl> 335 </p>
336 <dl>
267 <dt>Returns:</dt> 337 <dt>Returns:</dt>
268 <dd> 338 <dd>
269 a tuple of a flag indicating, that the debugger should fork 339 a tuple of a flag indicating, that the debugger should fork
270 automatically (boolean) and a flag indicating, that the debugger 340 automatically (boolean) and a flag indicating, that the debugger
271 should debug the child process after forking automatically 341 should debug the child process after forking automatically
272 (boolean) 342 (boolean)
273 </dd> 343 </dd>
274 </dl><a NAME="StartDialog.historiesModified" ID="StartDialog.historiesModified"></a> 344 </dl>
345 <a NAME="StartDialog.historiesModified" ID="StartDialog.historiesModified"></a>
275 <h4>StartDialog.historiesModified</h4> 346 <h4>StartDialog.historiesModified</h4>
276 <b>historiesModified</b>(<i></i>) 347 <b>historiesModified</b>(<i></i>)
348
277 <p> 349 <p>
278 Public method to test for modified histories. 350 Public method to test for modified histories.
279 </p><dl> 351 </p>
352 <dl>
280 <dt>Returns:</dt> 353 <dt>Returns:</dt>
281 <dd> 354 <dd>
282 flag indicating modified histories 355 flag indicating modified histories
283 </dd> 356 </dd>
284 </dl><dl> 357 </dl>
358 <dl>
285 <dt>Return Type:</dt> 359 <dt>Return Type:</dt>
286 <dd> 360 <dd>
287 bool 361 bool
288 </dd> 362 </dd>
289 </dl><a NAME="StartDialog.on_buttonBox_clicked" ID="StartDialog.on_buttonBox_clicked"></a> 363 </dl>
364 <a NAME="StartDialog.on_buttonBox_clicked" ID="StartDialog.on_buttonBox_clicked"></a>
290 <h4>StartDialog.on_buttonBox_clicked</h4> 365 <h4>StartDialog.on_buttonBox_clicked</h4>
291 <b>on_buttonBox_clicked</b>(<i>button</i>) 366 <b>on_buttonBox_clicked</b>(<i>button</i>)
367
292 <p> 368 <p>
293 Private slot called by a button of the button box clicked. 369 Private slot called by a button of the button box clicked.
294 </p><dl> 370 </p>
371 <dl>
372
295 <dt><i>button</i></dt> 373 <dt><i>button</i></dt>
296 <dd> 374 <dd>
297 button that was clicked (QAbstractButton) 375 button that was clicked (QAbstractButton)
298 </dd> 376 </dd>
299 </dl><a NAME="StartDialog.on_modFuncCombo_editTextChanged" ID="StartDialog.on_modFuncCombo_editTextChanged"></a> 377 </dl>
378 <a NAME="StartDialog.on_modFuncCombo_editTextChanged" ID="StartDialog.on_modFuncCombo_editTextChanged"></a>
300 <h4>StartDialog.on_modFuncCombo_editTextChanged</h4> 379 <h4>StartDialog.on_modFuncCombo_editTextChanged</h4>
301 <b>on_modFuncCombo_editTextChanged</b>(<i></i>) 380 <b>on_modFuncCombo_editTextChanged</b>(<i></i>)
381
302 <p> 382 <p>
303 Private slot to enable/disable the OK button. 383 Private slot to enable/disable the OK button.
304 </p> 384 </p>
305 <div align="right"><a href="#top">Up</a></div> 385 <div align="right"><a href="#top">Up</a></div>
306 <hr /> 386 <hr />

eric ide

mercurial