eric6/Documentation/Source/eric6.Debugger.CallTraceViewer.html

changeset 7887
c1588f5a83e9
parent 7273
391d6b7b1eff
child 7989
a21d673a8f99
equal deleted inserted replaced
7885:3e4605cc3541 7887:c1588f5a83e9
85 <td><a href="#CallTraceViewer.__addCallTraceInfo">__addCallTraceInfo</a></td> 85 <td><a href="#CallTraceViewer.__addCallTraceInfo">__addCallTraceInfo</a></td>
86 <td>Private method to add an entry to the call trace viewer.</td> 86 <td>Private method to add an entry to the call trace viewer.</td>
87 </tr> 87 </tr>
88 <tr> 88 <tr>
89 <td><a href="#CallTraceViewer.__clientExit">__clientExit</a></td> 89 <td><a href="#CallTraceViewer.__clientExit">__clientExit</a></td>
90 <td>Private slot handling a client exiting.</td> 90 <td>Private slot to handle a debug client terminating.</td>
91 </tr> 91 </tr>
92 <tr> 92 <tr>
93 <td><a href="#CallTraceViewer.__setCallTraceEnabled">__setCallTraceEnabled</a></td> 93 <td><a href="#CallTraceViewer.__setCallTraceEnabled">__setCallTraceEnabled</a></td>
94 <td>Private slot to set the call trace enabled status.</td> 94 <td>Private slot to set the call trace enabled status.</td>
95 </tr> 95 </tr>
140 <tr><td>None</td></tr> 140 <tr><td>None</td></tr>
141 </table> 141 </table>
142 142
143 <a NAME="CallTraceViewer.__init__" ID="CallTraceViewer.__init__"></a> 143 <a NAME="CallTraceViewer.__init__" ID="CallTraceViewer.__init__"></a>
144 <h4>CallTraceViewer (Constructor)</h4> 144 <h4>CallTraceViewer (Constructor)</h4>
145 <b>CallTraceViewer</b>(<i>debugServer, parent=None</i>) 145 <b>CallTraceViewer</b>(<i>debugServer, debugViewer, parent=None</i>)
146 146
147 <p> 147 <p>
148 Constructor 148 Constructor
149 </p> 149 </p>
150 <dl> 150 <dl>
151 151
152 <dt><i>debugServer</i></dt> 152 <dt><i>debugServer</i> (DebugServer)</dt>
153 <dd> 153 <dd>
154 reference to the debug server object (DebugServer) 154 reference to the debug server object
155 </dd> 155 </dd>
156 <dt><i>parent</i></dt> 156 <dt><i>debugViewer</i> (DebugViewer)</dt>
157 <dd> 157 <dd>
158 reference to the parent widget (QWidget) 158 reference to the debug viewer object
159 </dd>
160 <dt><i>parent</i> (QWidget)</dt>
161 <dd>
162 reference to the parent widget
159 </dd> 163 </dd>
160 </dl> 164 </dl>
161 <a NAME="CallTraceViewer.__addCallTraceInfo" ID="CallTraceViewer.__addCallTraceInfo"></a> 165 <a NAME="CallTraceViewer.__addCallTraceInfo" ID="CallTraceViewer.__addCallTraceInfo"></a>
162 <h4>CallTraceViewer.__addCallTraceInfo</h4> 166 <h4>CallTraceViewer.__addCallTraceInfo</h4>
163 <b>__addCallTraceInfo</b>(<i>isCall, fromFile, fromLine, fromFunction, toFile, toLine, toFunction</i>) 167 <b>__addCallTraceInfo</b>(<i>isCall, fromFile, fromLine, fromFunction, toFile, toLine, toFunction, debuggerId</i>)
164 168
165 <p> 169 <p>
166 Private method to add an entry to the call trace viewer. 170 Private method to add an entry to the call trace viewer.
167 </p> 171 </p>
168 <dl> 172 <dl>
169 173
170 <dt><i>isCall</i></dt> 174 <dt><i>isCall</i> (bool)</dt>
171 <dd> 175 <dd>
172 flag indicating a 'call' (boolean) 176 flag indicating a 'call'
173 </dd> 177 </dd>
174 <dt><i>fromFile</i></dt> 178 <dt><i>fromFile</i> (str)</dt>
175 <dd> 179 <dd>
176 name of the originating file (string) 180 name of the originating file
177 </dd> 181 </dd>
178 <dt><i>fromLine</i></dt> 182 <dt><i>fromLine</i> (str)</dt>
179 <dd> 183 <dd>
180 line number in the originating file (string) 184 line number in the originating file
181 </dd> 185 </dd>
182 <dt><i>fromFunction</i></dt> 186 <dt><i>fromFunction</i> (str)</dt>
183 <dd> 187 <dd>
184 name of the originating function (string) 188 name of the originating function
185 </dd> 189 </dd>
186 <dt><i>toFile</i></dt> 190 <dt><i>toFile</i> (str)</dt>
187 <dd> 191 <dd>
188 name of the target file (string) 192 name of the target file
189 </dd> 193 </dd>
190 <dt><i>toLine</i></dt> 194 <dt><i>toLine</i> (str)</dt>
191 <dd> 195 <dd>
192 line number in the target file (string) 196 line number in the target file
193 </dd> 197 </dd>
194 <dt><i>toFunction</i></dt> 198 <dt><i>toFunction</i> (str)</dt>
195 <dd> 199 <dd>
196 name of the target function (string) 200 name of the target function
201 </dd>
202 <dt><i>debuggerId</i> (str)</dt>
203 <dd>
204 ID of the debugger backend
197 </dd> 205 </dd>
198 </dl> 206 </dl>
199 <a NAME="CallTraceViewer.__clientExit" ID="CallTraceViewer.__clientExit"></a> 207 <a NAME="CallTraceViewer.__clientExit" ID="CallTraceViewer.__clientExit"></a>
200 <h4>CallTraceViewer.__clientExit</h4> 208 <h4>CallTraceViewer.__clientExit</h4>
201 <b>__clientExit</b>(<i></i>) 209 <b>__clientExit</b>(<i>program, status, message, quiet, debuggerId</i>)
202 210
203 <p> 211 <p>
204 Private slot handling a client exiting. 212 Private slot to handle a debug client terminating.
205 </p> 213 </p>
214 <dl>
215
216 <dt><i>program</i> (str)</dt>
217 <dd>
218 name of the exited program
219 </dd>
220 <dt><i>status</i> (int)</dt>
221 <dd>
222 exit code of the debugged program
223 </dd>
224 <dt><i>message</i> (str)</dt>
225 <dd>
226 exit message of the debugged program
227 </dd>
228 <dt><i>quiet</i> (bool)</dt>
229 <dd>
230 flag indicating to suppress exit info display
231 </dd>
232 <dt><i>debuggerId</i> (str)</dt>
233 <dd>
234 ID of the debugger backend
235 </dd>
236 </dl>
206 <a NAME="CallTraceViewer.__setCallTraceEnabled" ID="CallTraceViewer.__setCallTraceEnabled"></a> 237 <a NAME="CallTraceViewer.__setCallTraceEnabled" ID="CallTraceViewer.__setCallTraceEnabled"></a>
207 <h4>CallTraceViewer.__setCallTraceEnabled</h4> 238 <h4>CallTraceViewer.__setCallTraceEnabled</h4>
208 <b>__setCallTraceEnabled</b>(<i>enabled</i>) 239 <b>__setCallTraceEnabled</b>(<i>enabled</i>)
209 240
210 <p> 241 <p>
211 Private slot to set the call trace enabled status. 242 Private slot to set the call trace enabled status.
212 </p> 243 </p>
213 <dl> 244 <dl>
214 245
215 <dt><i>enabled</i></dt> 246 <dt><i>enabled</i> (bool)</dt>
216 <dd> 247 <dd>
217 flag indicating the new state (boolean) 248 flag indicating the new state
218 </dd> 249 </dd>
219 </dl> 250 </dl>
220 <a NAME="CallTraceViewer.clear" ID="CallTraceViewer.clear"></a> 251 <a NAME="CallTraceViewer.clear" ID="CallTraceViewer.clear"></a>
221 <h4>CallTraceViewer.clear</h4> 252 <h4>CallTraceViewer.clear</h4>
222 <b>clear</b>(<i></i>) 253 <b>clear</b>(<i></i>)
232 Public method to get the state of the call trace function. 263 Public method to get the state of the call trace function.
233 </p> 264 </p>
234 <dl> 265 <dl>
235 <dt>Returns:</dt> 266 <dt>Returns:</dt>
236 <dd> 267 <dd>
237 flag indicating the state of the call trace function (boolean) 268 flag indicating the state of the call trace function
269 </dd>
270 </dl>
271 <dl>
272 <dt>Return Type:</dt>
273 <dd>
274 bool
238 </dd> 275 </dd>
239 </dl> 276 </dl>
240 <a NAME="CallTraceViewer.on_callTrace_itemDoubleClicked" ID="CallTraceViewer.on_callTrace_itemDoubleClicked"></a> 277 <a NAME="CallTraceViewer.on_callTrace_itemDoubleClicked" ID="CallTraceViewer.on_callTrace_itemDoubleClicked"></a>
241 <h4>CallTraceViewer.on_callTrace_itemDoubleClicked</h4> 278 <h4>CallTraceViewer.on_callTrace_itemDoubleClicked</h4>
242 <b>on_callTrace_itemDoubleClicked</b>(<i>item, column</i>) 279 <b>on_callTrace_itemDoubleClicked</b>(<i>item, column</i>)
244 <p> 281 <p>
245 Private slot to open the double clicked file in an editor. 282 Private slot to open the double clicked file in an editor.
246 </p> 283 </p>
247 <dl> 284 <dl>
248 285
249 <dt><i>item</i></dt> 286 <dt><i>item</i> (QTreeWidgetItem)</dt>
250 <dd> 287 <dd>
251 reference to the double clicked item (QTreeWidgetItem) 288 reference to the double clicked item
252 </dd> 289 </dd>
253 <dt><i>column</i></dt> 290 <dt><i>column</i> (int)</dt>
254 <dd> 291 <dd>
255 column that was double clicked (integer) 292 column that was double clicked
256 </dd> 293 </dd>
257 </dl> 294 </dl>
258 <a NAME="CallTraceViewer.on_clearButton_clicked" ID="CallTraceViewer.on_clearButton_clicked"></a> 295 <a NAME="CallTraceViewer.on_clearButton_clicked" ID="CallTraceViewer.on_clearButton_clicked"></a>
259 <h4>CallTraceViewer.on_clearButton_clicked</h4> 296 <h4>CallTraceViewer.on_clearButton_clicked</h4>
260 <b>on_clearButton_clicked</b>(<i></i>) 297 <b>on_clearButton_clicked</b>(<i></i>)
315 In project mode the call trace info is shown with project relative 352 In project mode the call trace info is shown with project relative
316 path names. 353 path names.
317 </p> 354 </p>
318 <dl> 355 <dl>
319 356
320 <dt><i>enabled</i></dt> 357 <dt><i>enabled</i> (bool)</dt>
321 <dd> 358 <dd>
322 flag indicating to enable the project mode (boolean) 359 flag indicating to enable the project mode
323 </dd> 360 </dd>
324 </dl> 361 </dl>
325 <div align="right"><a href="#top">Up</a></div> 362 <div align="right"><a href="#top">Up</a></div>
326 <hr /> 363 <hr />
327 </body></html> 364 </body></html>

eric ide

mercurial