24 <li>viewer for watch expressions</li> |
23 <li>viewer for watch expressions</li> |
25 <li>viewer for exceptions</li> |
24 <li>viewer for exceptions</li> |
26 <li>viewer for a code disassembly for an exception<li> |
25 <li>viewer for a code disassembly for an exception<li> |
27 </ul> |
26 </ul> |
28 </p> |
27 </p> |
|
28 |
29 <h3>Global Attributes</h3> |
29 <h3>Global Attributes</h3> |
30 |
|
31 <table> |
30 <table> |
32 <tr><td>None</td></tr> |
31 <tr><td>None</td></tr> |
33 </table> |
32 </table> |
|
33 |
34 <h3>Classes</h3> |
34 <h3>Classes</h3> |
35 |
|
36 <table> |
35 <table> |
37 |
|
38 <tr> |
36 <tr> |
39 <td><a href="#DebugViewer">DebugViewer</a></td> |
37 <td><a href="#DebugViewer">DebugViewer</a></td> |
40 <td>Class implementing a widget containing various debug related views.</td> |
38 <td>Class implementing a widget containing various debug related views.</td> |
41 </tr> |
39 </tr> |
42 </table> |
40 </table> |
|
41 |
43 <h3>Functions</h3> |
42 <h3>Functions</h3> |
44 |
|
45 <table> |
43 <table> |
46 <tr><td>None</td></tr> |
44 <tr><td>None</td></tr> |
47 </table> |
45 </table> |
|
46 |
48 <hr /> |
47 <hr /> |
49 <hr /> |
48 <hr /> |
50 <a NAME="DebugViewer" ID="DebugViewer"></a> |
49 <a NAME="DebugViewer" ID="DebugViewer"></a> |
51 <h2>DebugViewer</h2> |
50 <h2>DebugViewer</h2> |
52 |
|
53 <p> |
51 <p> |
54 Class implementing a widget containing various debug related views. |
52 Class implementing a widget containing various debug related views. |
55 </p> |
53 </p> |
56 <p> |
54 <p> |
57 The individual tabs contain the interpreter shell (optional), |
55 The individual tabs contain the interpreter shell (optional), |
58 the filesystem browser (optional), the two variables viewers |
56 the filesystem browser (optional), the two variables viewers |
59 (global and local), a breakpoint viewer, a watch expression viewer and |
57 (global and local), a breakpoint viewer, a watch expression viewer and |
60 the exception logger. Additionally a list of all threads is shown. |
58 the exception logger. Additionally a list of all threads is shown. |
61 </p> |
59 </p> |
|
60 |
62 <h3>Signals</h3> |
61 <h3>Signals</h3> |
63 <dl> |
62 <dl> |
64 |
63 |
65 <dt>preferencesChanged()</dt> |
64 <dt>preferencesChanged()</dt> |
66 <dd> |
65 <dd> |
234 <tr> |
234 <tr> |
235 <td><a href="#DebugViewer.showVariablesTab">showVariablesTab</a></td> |
235 <td><a href="#DebugViewer.showVariablesTab">showVariablesTab</a></td> |
236 <td>Public method to make a variables tab visible.</td> |
236 <td>Public method to make a variables tab visible.</td> |
237 </tr> |
237 </tr> |
238 </table> |
238 </table> |
|
239 |
239 <h3>Static Methods</h3> |
240 <h3>Static Methods</h3> |
240 |
|
241 <table> |
241 <table> |
242 <tr><td>None</td></tr> |
242 <tr><td>None</td></tr> |
243 </table> |
243 </table> |
244 |
244 |
|
245 |
245 <a NAME="DebugViewer.__init__" ID="DebugViewer.__init__"></a> |
246 <a NAME="DebugViewer.__init__" ID="DebugViewer.__init__"></a> |
246 <h4>DebugViewer (Constructor)</h4> |
247 <h4>DebugViewer (Constructor)</h4> |
247 <b>DebugViewer</b>(<i>debugServer, parent=None</i>) |
248 <b>DebugViewer</b>(<i>debugServer, parent=None</i>) |
248 |
|
249 <p> |
249 <p> |
250 Constructor |
250 Constructor |
251 </p> |
251 </p> |
|
252 |
252 <dl> |
253 <dl> |
253 |
254 |
254 <dt><i>debugServer</i> (DebugServer)</dt> |
255 <dt><i>debugServer</i> (DebugServer)</dt> |
255 <dd> |
256 <dd> |
256 reference to the debug server object |
257 reference to the debug server object |
283 </dd> |
284 </dd> |
284 </dl> |
285 </dl> |
285 <a NAME="DebugViewer.__callStackFrameSelected" ID="DebugViewer.__callStackFrameSelected"></a> |
286 <a NAME="DebugViewer.__callStackFrameSelected" ID="DebugViewer.__callStackFrameSelected"></a> |
286 <h4>DebugViewer.__callStackFrameSelected</h4> |
287 <h4>DebugViewer.__callStackFrameSelected</h4> |
287 <b>__callStackFrameSelected</b>(<i>frameNo</i>) |
288 <b>__callStackFrameSelected</b>(<i>frameNo</i>) |
288 |
|
289 <p> |
289 <p> |
290 Private slot to handle the selection of a call stack entry of the |
290 Private slot to handle the selection of a call stack entry of the |
291 call stack viewer. |
291 call stack viewer. |
292 </p> |
292 </p> |
|
293 |
293 <dl> |
294 <dl> |
294 |
295 |
295 <dt><i>frameNo</i> (int)</dt> |
296 <dt><i>frameNo</i> (int)</dt> |
296 <dd> |
297 <dd> |
297 frame number (index) of the selected entry |
298 frame number (index) of the selected entry |
298 </dd> |
299 </dd> |
299 </dl> |
300 </dl> |
300 <a NAME="DebugViewer.__clearStackComboBox" ID="DebugViewer.__clearStackComboBox"></a> |
301 <a NAME="DebugViewer.__clearStackComboBox" ID="DebugViewer.__clearStackComboBox"></a> |
301 <h4>DebugViewer.__clearStackComboBox</h4> |
302 <h4>DebugViewer.__clearStackComboBox</h4> |
302 <b>__clearStackComboBox</b>(<i>comboBox</i>) |
303 <b>__clearStackComboBox</b>(<i>comboBox</i>) |
303 |
|
304 <p> |
304 <p> |
305 Private method to clear the given stack combo box. |
305 Private method to clear the given stack combo box. |
306 </p> |
306 </p> |
|
307 |
307 <dl> |
308 <dl> |
308 |
309 |
309 <dt><i>comboBox</i> (QComboBox)</dt> |
310 <dt><i>comboBox</i> (QComboBox)</dt> |
310 <dd> |
311 <dd> |
311 reference to the combo box to be cleared |
312 reference to the combo box to be cleared |
312 </dd> |
313 </dd> |
313 </dl> |
314 </dl> |
314 <a NAME="DebugViewer.__clientDebuggerId" ID="DebugViewer.__clientDebuggerId"></a> |
315 <a NAME="DebugViewer.__clientDebuggerId" ID="DebugViewer.__clientDebuggerId"></a> |
315 <h4>DebugViewer.__clientDebuggerId</h4> |
316 <h4>DebugViewer.__clientDebuggerId</h4> |
316 <b>__clientDebuggerId</b>(<i>debuggerId</i>) |
317 <b>__clientDebuggerId</b>(<i>debuggerId</i>) |
317 |
|
318 <p> |
318 <p> |
319 Private slot to receive the ID of a newly connected debugger backend. |
319 Private slot to receive the ID of a newly connected debugger backend. |
320 </p> |
320 </p> |
|
321 |
321 <dl> |
322 <dl> |
322 |
323 |
323 <dt><i>debuggerId</i> (str)</dt> |
324 <dt><i>debuggerId</i> (str)</dt> |
324 <dd> |
325 <dd> |
325 ID of a newly connected debugger backend |
326 ID of a newly connected debugger backend |
326 </dd> |
327 </dd> |
327 </dl> |
328 </dl> |
328 <a NAME="DebugViewer.__clientException" ID="DebugViewer.__clientException"></a> |
329 <a NAME="DebugViewer.__clientException" ID="DebugViewer.__clientException"></a> |
329 <h4>DebugViewer.__clientException</h4> |
330 <h4>DebugViewer.__clientException</h4> |
330 <b>__clientException</b>(<i>exceptionType, exceptionMessage, stackTrace, debuggerId, threadName, </i>) |
331 <b>__clientException</b>(<i>exceptionType, exceptionMessage, stackTrace, debuggerId, threadName, </i>) |
331 |
|
332 <p> |
332 <p> |
333 Private method to handle an exception of the debugged program. |
333 Private method to handle an exception of the debugged program. |
334 </p> |
334 </p> |
|
335 |
335 <dl> |
336 <dl> |
336 |
337 |
337 <dt><i>exceptionType</i> (str)</dt> |
338 <dt><i>exceptionType</i> (str)</dt> |
338 <dd> |
339 <dd> |
339 type of exception raised |
340 type of exception raised |
356 </dd> |
357 </dd> |
357 </dl> |
358 </dl> |
358 <a NAME="DebugViewer.__clientExit" ID="DebugViewer.__clientExit"></a> |
359 <a NAME="DebugViewer.__clientExit" ID="DebugViewer.__clientExit"></a> |
359 <h4>DebugViewer.__clientExit</h4> |
360 <h4>DebugViewer.__clientExit</h4> |
360 <b>__clientExit</b>(<i>program, status, message, quiet, debuggerId</i>) |
361 <b>__clientExit</b>(<i>program, status, message, quiet, debuggerId</i>) |
361 |
|
362 <p> |
362 <p> |
363 Private method to handle the debugged program terminating. |
363 Private method to handle the debugged program terminating. |
364 </p> |
364 </p> |
|
365 |
365 <dl> |
366 <dl> |
366 |
367 |
367 <dt><i>program</i> (str)</dt> |
368 <dt><i>program</i> (str)</dt> |
368 <dd> |
369 <dd> |
369 name of the exited program |
370 name of the exited program |
412 </dd> |
413 </dd> |
413 </dl> |
414 </dl> |
414 <a NAME="DebugViewer.__clientSyntaxError" ID="DebugViewer.__clientSyntaxError"></a> |
415 <a NAME="DebugViewer.__clientSyntaxError" ID="DebugViewer.__clientSyntaxError"></a> |
415 <h4>DebugViewer.__clientSyntaxError</h4> |
416 <h4>DebugViewer.__clientSyntaxError</h4> |
416 <b>__clientSyntaxError</b>(<i>message, filename, lineNo, characterNo, debuggerId, threadName, </i>) |
417 <b>__clientSyntaxError</b>(<i>message, filename, lineNo, characterNo, debuggerId, threadName, </i>) |
417 |
|
418 <p> |
418 <p> |
419 Private method to handle a syntax error in the debugged program. |
419 Private method to handle a syntax error in the debugged program. |
420 </p> |
420 </p> |
|
421 |
421 <dl> |
422 <dl> |
422 |
423 |
423 <dt><i>message</i> (str)</dt> |
424 <dt><i>message</i> (str)</dt> |
424 <dd> |
425 <dd> |
425 message of the syntax error |
426 message of the syntax error |
465 </dd> |
466 </dd> |
466 </dl> |
467 </dl> |
467 <a NAME="DebugViewer.__frameSelected" ID="DebugViewer.__frameSelected"></a> |
468 <a NAME="DebugViewer.__frameSelected" ID="DebugViewer.__frameSelected"></a> |
468 <h4>DebugViewer.__frameSelected</h4> |
469 <h4>DebugViewer.__frameSelected</h4> |
469 <b>__frameSelected</b>(<i>frmnr</i>) |
470 <b>__frameSelected</b>(<i>frmnr</i>) |
470 |
|
471 <p> |
471 <p> |
472 Private slot to handle the selection of a new stack frame number. |
472 Private slot to handle the selection of a new stack frame number. |
473 </p> |
473 </p> |
|
474 |
474 <dl> |
475 <dl> |
475 |
476 |
476 <dt><i>frmnr</i> (int)</dt> |
477 <dt><i>frmnr</i> (int)</dt> |
477 <dd> |
478 <dd> |
478 frame number (0 is the current frame) |
479 frame number (0 is the current frame) |
479 </dd> |
480 </dd> |
480 </dl> |
481 </dl> |
481 <a NAME="DebugViewer.__removeDebugger" ID="DebugViewer.__removeDebugger"></a> |
482 <a NAME="DebugViewer.__removeDebugger" ID="DebugViewer.__removeDebugger"></a> |
482 <h4>DebugViewer.__removeDebugger</h4> |
483 <h4>DebugViewer.__removeDebugger</h4> |
483 <b>__removeDebugger</b>(<i>debuggerId</i>) |
484 <b>__removeDebugger</b>(<i>debuggerId</i>) |
484 |
|
485 <p> |
485 <p> |
486 Private method to remove a debugger given its ID. |
486 Private method to remove a debugger given its ID. |
487 </p> |
487 </p> |
|
488 |
488 <dl> |
489 <dl> |
489 |
490 |
490 <dt><i>debuggerId</i> (str)</dt> |
491 <dt><i>debuggerId</i> (str)</dt> |
491 <dd> |
492 <dd> |
492 ID of the debugger to be removed from the list |
493 ID of the debugger to be removed from the list |
493 </dd> |
494 </dd> |
494 </dl> |
495 </dl> |
495 <a NAME="DebugViewer.__setCurrentDebugger" ID="DebugViewer.__setCurrentDebugger"></a> |
496 <a NAME="DebugViewer.__setCurrentDebugger" ID="DebugViewer.__setCurrentDebugger"></a> |
496 <h4>DebugViewer.__setCurrentDebugger</h4> |
497 <h4>DebugViewer.__setCurrentDebugger</h4> |
497 <b>__setCurrentDebugger</b>(<i>debuggerId</i>) |
498 <b>__setCurrentDebugger</b>(<i>debuggerId</i>) |
498 |
|
499 <p> |
499 <p> |
500 Private method to set the current debugger based on the given ID. |
500 Private method to set the current debugger based on the given ID. |
501 </p> |
501 </p> |
|
502 |
502 <dl> |
503 <dl> |
503 |
504 |
504 <dt><i>debuggerId</i> (str)</dt> |
505 <dt><i>debuggerId</i> (str)</dt> |
505 <dd> |
506 <dd> |
506 ID of the debugger to set as current debugger |
507 ID of the debugger to set as current debugger |
507 </dd> |
508 </dd> |
508 </dl> |
509 </dl> |
509 <a NAME="DebugViewer.__setDebuggerIconAndState" ID="DebugViewer.__setDebuggerIconAndState"></a> |
510 <a NAME="DebugViewer.__setDebuggerIconAndState" ID="DebugViewer.__setDebuggerIconAndState"></a> |
510 <h4>DebugViewer.__setDebuggerIconAndState</h4> |
511 <h4>DebugViewer.__setDebuggerIconAndState</h4> |
511 <b>__setDebuggerIconAndState</b>(<i>debuggerId, state</i>) |
512 <b>__setDebuggerIconAndState</b>(<i>debuggerId, state</i>) |
512 |
|
513 <p> |
513 <p> |
514 Private method to set the icon for a specific debugger ID. |
514 Private method to set the icon for a specific debugger ID. |
515 </p> |
515 </p> |
|
516 |
516 <dl> |
517 <dl> |
517 |
518 |
518 <dt><i>debuggerId</i> (str)</dt> |
519 <dt><i>debuggerId</i> (str)</dt> |
519 <dd> |
520 <dd> |
520 ID of the debugger backend (empty ID means the |
521 ID of the debugger backend (empty ID means the |
550 </dd> |
551 </dd> |
551 </dl> |
552 </dl> |
552 <a NAME="DebugViewer.__showSource" ID="DebugViewer.__showSource"></a> |
553 <a NAME="DebugViewer.__showSource" ID="DebugViewer.__showSource"></a> |
553 <h4>DebugViewer.__showSource</h4> |
554 <h4>DebugViewer.__showSource</h4> |
554 <b>__showSource</b>(<i></i>) |
555 <b>__showSource</b>(<i></i>) |
555 |
|
556 <p> |
556 <p> |
557 Private slot to handle the source button press to show the selected |
557 Private slot to handle the source button press to show the selected |
558 file. |
558 file. |
559 </p> |
559 </p> |
|
560 |
560 <a NAME="DebugViewer.clearCallTrace" ID="DebugViewer.clearCallTrace"></a> |
561 <a NAME="DebugViewer.clearCallTrace" ID="DebugViewer.clearCallTrace"></a> |
561 <h4>DebugViewer.clearCallTrace</h4> |
562 <h4>DebugViewer.clearCallTrace</h4> |
562 <b>clearCallTrace</b>(<i></i>) |
563 <b>clearCallTrace</b>(<i></i>) |
563 |
|
564 <p> |
564 <p> |
565 Public method to clear the recorded call trace. |
565 Public method to clear the recorded call trace. |
566 </p> |
566 </p> |
|
567 |
567 <a NAME="DebugViewer.currentWidget" ID="DebugViewer.currentWidget"></a> |
568 <a NAME="DebugViewer.currentWidget" ID="DebugViewer.currentWidget"></a> |
568 <h4>DebugViewer.currentWidget</h4> |
569 <h4>DebugViewer.currentWidget</h4> |
569 <b>currentWidget</b>(<i></i>) |
570 <b>currentWidget</b>(<i></i>) |
570 |
|
571 <p> |
571 <p> |
572 Public method to get a reference to the current widget. |
572 Public method to get a reference to the current widget. |
573 </p> |
573 </p> |
|
574 |
574 <dl> |
575 <dl> |
575 <dt>Return:</dt> |
576 <dt>Return:</dt> |
576 <dd> |
577 <dd> |
577 reference to the current widget |
578 reference to the current widget |
578 </dd> |
579 </dd> |
622 </dd> |
623 </dd> |
623 </dl> |
624 </dl> |
624 <a NAME="DebugViewer.handleClientStack" ID="DebugViewer.handleClientStack"></a> |
625 <a NAME="DebugViewer.handleClientStack" ID="DebugViewer.handleClientStack"></a> |
625 <h4>DebugViewer.handleClientStack</h4> |
626 <h4>DebugViewer.handleClientStack</h4> |
626 <b>handleClientStack</b>(<i>stack, debuggerId</i>) |
627 <b>handleClientStack</b>(<i>stack, debuggerId</i>) |
627 |
|
628 <p> |
628 <p> |
629 Public slot to show the call stack of the program being debugged. |
629 Public slot to show the call stack of the program being debugged. |
630 </p> |
630 </p> |
|
631 |
631 <dl> |
632 <dl> |
632 |
633 |
633 <dt><i>stack</i> (list of tuples of (str, str, str, str))</dt> |
634 <dt><i>stack</i> (list of tuples of (str, str, str, str))</dt> |
634 <dd> |
635 <dd> |
635 list of tuples with call stack data (file name, |
636 list of tuples with call stack data (file name, |
641 </dd> |
642 </dd> |
642 </dl> |
643 </dl> |
643 <a NAME="DebugViewer.handleDebuggingStarted" ID="DebugViewer.handleDebuggingStarted"></a> |
644 <a NAME="DebugViewer.handleDebuggingStarted" ID="DebugViewer.handleDebuggingStarted"></a> |
644 <h4>DebugViewer.handleDebuggingStarted</h4> |
645 <h4>DebugViewer.handleDebuggingStarted</h4> |
645 <b>handleDebuggingStarted</b>(<i></i>) |
646 <b>handleDebuggingStarted</b>(<i></i>) |
646 |
|
647 <p> |
647 <p> |
648 Public slot to handle the start of a debugging session. |
648 Public slot to handle the start of a debugging session. |
649 </p> |
649 </p> |
650 <p> |
650 <p> |
651 This slot sets the variables filter expressions. |
651 This slot sets the variables filter expressions. |
652 </p> |
652 </p> |
|
653 |
653 <a NAME="DebugViewer.handlePreferencesChanged" ID="DebugViewer.handlePreferencesChanged"></a> |
654 <a NAME="DebugViewer.handlePreferencesChanged" ID="DebugViewer.handlePreferencesChanged"></a> |
654 <h4>DebugViewer.handlePreferencesChanged</h4> |
655 <h4>DebugViewer.handlePreferencesChanged</h4> |
655 <b>handlePreferencesChanged</b>(<i></i>) |
656 <b>handlePreferencesChanged</b>(<i></i>) |
656 |
|
657 <p> |
657 <p> |
658 Public slot to handle the preferencesChanged signal. |
658 Public slot to handle the preferencesChanged signal. |
659 </p> |
659 </p> |
|
660 |
660 <a NAME="DebugViewer.handleResetUI" ID="DebugViewer.handleResetUI"></a> |
661 <a NAME="DebugViewer.handleResetUI" ID="DebugViewer.handleResetUI"></a> |
661 <h4>DebugViewer.handleResetUI</h4> |
662 <h4>DebugViewer.handleResetUI</h4> |
662 <b>handleResetUI</b>(<i>fullReset</i>) |
663 <b>handleResetUI</b>(<i>fullReset</i>) |
663 |
|
664 <p> |
664 <p> |
665 Public method to reset the viewer. |
665 Public method to reset the viewer. |
666 </p> |
666 </p> |
|
667 |
667 <dl> |
668 <dl> |
668 |
669 |
669 <dt><i>fullReset</i> (bool)</dt> |
670 <dt><i>fullReset</i> (bool)</dt> |
670 <dd> |
671 <dd> |
671 flag indicating a full reset is required |
672 flag indicating a full reset is required |
672 </dd> |
673 </dd> |
673 </dl> |
674 </dl> |
674 <a NAME="DebugViewer.initCallStackViewer" ID="DebugViewer.initCallStackViewer"></a> |
675 <a NAME="DebugViewer.initCallStackViewer" ID="DebugViewer.initCallStackViewer"></a> |
675 <h4>DebugViewer.initCallStackViewer</h4> |
676 <h4>DebugViewer.initCallStackViewer</h4> |
676 <b>initCallStackViewer</b>(<i>projectMode</i>) |
677 <b>initCallStackViewer</b>(<i>projectMode</i>) |
677 |
|
678 <p> |
678 <p> |
679 Public method to initialize the call stack viewer. |
679 Public method to initialize the call stack viewer. |
680 </p> |
680 </p> |
|
681 |
681 <dl> |
682 <dl> |
682 |
683 |
683 <dt><i>projectMode</i> (bool)</dt> |
684 <dt><i>projectMode</i> (bool)</dt> |
684 <dd> |
685 <dd> |
685 flag indicating to enable the project mode |
686 flag indicating to enable the project mode |
686 </dd> |
687 </dd> |
687 </dl> |
688 </dl> |
688 <a NAME="DebugViewer.isCallTraceEnabled" ID="DebugViewer.isCallTraceEnabled"></a> |
689 <a NAME="DebugViewer.isCallTraceEnabled" ID="DebugViewer.isCallTraceEnabled"></a> |
689 <h4>DebugViewer.isCallTraceEnabled</h4> |
690 <h4>DebugViewer.isCallTraceEnabled</h4> |
690 <b>isCallTraceEnabled</b>(<i></i>) |
691 <b>isCallTraceEnabled</b>(<i></i>) |
691 |
|
692 <p> |
692 <p> |
693 Public method to get the state of the call trace function. |
693 Public method to get the state of the call trace function. |
694 </p> |
694 </p> |
|
695 |
695 <dl> |
696 <dl> |
696 <dt>Return:</dt> |
697 <dt>Return:</dt> |
697 <dd> |
698 <dd> |
698 flag indicating the state of the call trace function |
699 flag indicating the state of the call trace function |
699 </dd> |
700 </dd> |
724 </dd> |
725 </dd> |
725 </dl> |
726 </dl> |
726 <a NAME="DebugViewer.refreshVariablesLists" ID="DebugViewer.refreshVariablesLists"></a> |
727 <a NAME="DebugViewer.refreshVariablesLists" ID="DebugViewer.refreshVariablesLists"></a> |
727 <h4>DebugViewer.refreshVariablesLists</h4> |
728 <h4>DebugViewer.refreshVariablesLists</h4> |
728 <b>refreshVariablesLists</b>(<i></i>) |
729 <b>refreshVariablesLists</b>(<i></i>) |
729 |
|
730 <p> |
730 <p> |
731 Public slot to refresh the local and global variables lists. |
731 Public slot to refresh the local and global variables lists. |
732 </p> |
732 </p> |
|
733 |
733 <a NAME="DebugViewer.setCallTraceToProjectMode" ID="DebugViewer.setCallTraceToProjectMode"></a> |
734 <a NAME="DebugViewer.setCallTraceToProjectMode" ID="DebugViewer.setCallTraceToProjectMode"></a> |
734 <h4>DebugViewer.setCallTraceToProjectMode</h4> |
735 <h4>DebugViewer.setCallTraceToProjectMode</h4> |
735 <b>setCallTraceToProjectMode</b>(<i>enabled</i>) |
736 <b>setCallTraceToProjectMode</b>(<i>enabled</i>) |
736 |
|
737 <p> |
737 <p> |
738 Public slot to set the call trace viewer to project mode. |
738 Public slot to set the call trace viewer to project mode. |
739 </p> |
739 </p> |
740 <p> |
740 <p> |
741 In project mode the call trace info is shown with project relative |
741 In project mode the call trace info is shown with project relative |
742 path names. |
742 path names. |
743 </p> |
743 </p> |
|
744 |
744 <dl> |
745 <dl> |
745 |
746 |
746 <dt><i>enabled</i> (bool)</dt> |
747 <dt><i>enabled</i> (bool)</dt> |
747 <dd> |
748 <dd> |
748 flag indicating to enable the project mode |
749 flag indicating to enable the project mode |
749 </dd> |
750 </dd> |
750 </dl> |
751 </dl> |
751 <a NAME="DebugViewer.setCurrentWidget" ID="DebugViewer.setCurrentWidget"></a> |
752 <a NAME="DebugViewer.setCurrentWidget" ID="DebugViewer.setCurrentWidget"></a> |
752 <h4>DebugViewer.setCurrentWidget</h4> |
753 <h4>DebugViewer.setCurrentWidget</h4> |
753 <b>setCurrentWidget</b>(<i>widget</i>) |
754 <b>setCurrentWidget</b>(<i>widget</i>) |
754 |
|
755 <p> |
755 <p> |
756 Public slot to set the current page based on the given widget. |
756 Public slot to set the current page based on the given widget. |
757 </p> |
757 </p> |
|
758 |
758 <dl> |
759 <dl> |
759 |
760 |
760 <dt><i>widget</i> (QWidget)</dt> |
761 <dt><i>widget</i> (QWidget)</dt> |
761 <dd> |
762 <dd> |
762 reference to the widget |
763 reference to the widget |
763 </dd> |
764 </dd> |
764 </dl> |
765 </dl> |
765 <a NAME="DebugViewer.setDebugger" ID="DebugViewer.setDebugger"></a> |
766 <a NAME="DebugViewer.setDebugger" ID="DebugViewer.setDebugger"></a> |
766 <h4>DebugViewer.setDebugger</h4> |
767 <h4>DebugViewer.setDebugger</h4> |
767 <b>setDebugger</b>(<i>debugUI</i>) |
768 <b>setDebugger</b>(<i>debugUI</i>) |
768 |
|
769 <p> |
769 <p> |
770 Public method to set a reference to the Debug UI. |
770 Public method to set a reference to the Debug UI. |
771 </p> |
771 </p> |
|
772 |
772 <dl> |
773 <dl> |
773 |
774 |
774 <dt><i>debugUI</i> (DebugUI)</dt> |
775 <dt><i>debugUI</i> (DebugUI)</dt> |
775 <dd> |
776 <dd> |
776 reference to the DebugUI object |
777 reference to the DebugUI object |
777 </dd> |
778 </dd> |
778 </dl> |
779 </dl> |
779 <a NAME="DebugViewer.setGlobalsFilter" ID="DebugViewer.setGlobalsFilter"></a> |
780 <a NAME="DebugViewer.setGlobalsFilter" ID="DebugViewer.setGlobalsFilter"></a> |
780 <h4>DebugViewer.setGlobalsFilter</h4> |
781 <h4>DebugViewer.setGlobalsFilter</h4> |
781 <b>setGlobalsFilter</b>(<i></i>) |
782 <b>setGlobalsFilter</b>(<i></i>) |
782 |
|
783 <p> |
783 <p> |
784 Public slot to set the global variable filter. |
784 Public slot to set the global variable filter. |
785 </p> |
785 </p> |
|
786 |
786 <a NAME="DebugViewer.setLocalsFilter" ID="DebugViewer.setLocalsFilter"></a> |
787 <a NAME="DebugViewer.setLocalsFilter" ID="DebugViewer.setLocalsFilter"></a> |
787 <h4>DebugViewer.setLocalsFilter</h4> |
788 <h4>DebugViewer.setLocalsFilter</h4> |
788 <b>setLocalsFilter</b>(<i></i>) |
789 <b>setLocalsFilter</b>(<i></i>) |
789 |
|
790 <p> |
790 <p> |
791 Public slot to set the local variable filter. |
791 Public slot to set the local variable filter. |
792 </p> |
792 </p> |
|
793 |
793 <a NAME="DebugViewer.setVariablesFilter" ID="DebugViewer.setVariablesFilter"></a> |
794 <a NAME="DebugViewer.setVariablesFilter" ID="DebugViewer.setVariablesFilter"></a> |
794 <h4>DebugViewer.setVariablesFilter</h4> |
795 <h4>DebugViewer.setVariablesFilter</h4> |
795 <b>setVariablesFilter</b>(<i>globalsFilter, localsFilter</i>) |
796 <b>setVariablesFilter</b>(<i>globalsFilter, localsFilter</i>) |
796 |
|
797 <p> |
797 <p> |
798 Public slot to set the local variables filter. |
798 Public slot to set the local variables filter. |
799 </p> |
799 </p> |
|
800 |
800 <dl> |
801 <dl> |
801 |
802 |
802 <dt><i>globalsFilter</i> (list of str)</dt> |
803 <dt><i>globalsFilter</i> (list of str)</dt> |
803 <dd> |
804 <dd> |
804 filter list for global variable types |
805 filter list for global variable types |