eric4.Debugger.DebugViewer

Module implementing a tab widget containing various debug related views.

The views avaliable are:

Classes

DebugViewer Module implementing tab widget conatining various debug related views.

Functions

None


DebugViewer

Module implementing tab widget conatining various debug related views.

The individual tabs contain the interpreter shell (optional), the filesystem browser (optional), the two variables viewers (global and local), a breakpoint viewer, a watchpoint viewer and the exception logger.

Signals

sourceFile(string, int)
emitted to open a source file at a line

Derived from

E4TabWidget

Methods

DebugViewer Constructor
__frameSelected Private slot to handle the selection of a new stack frame number.
__setGlobalsFilter Private slot to set the global variable filter
__setLocalsFilter Private slot to set the local variable filter
__showSource Private slot to handle the source button press to show the selected file.
handleClientStack Public slot to show the call stack of the program being debugged.
handleDebuggingStarted Public slot to handle the start of a debugging session.
handleRawInput Pulic slot to handle the switch to the shell in raw input mode.
handleResetUI Public method to reset the SBVviewer.
restoreCurrentPage Public slot to restore the previously saved page.
saveCurrentPage Public slot to save the current page.
setDebugger Public method to set a reference to the Debug UI.
setVariablesFilter Public slot to set the local variables filter.
setWD Public slot to set the working directory of the program being debugged.
showVariable Public method to show the variables in the respective window.
showVariables Public method to show the variables in the respective window.
showVariablesTab Public method to make a variables tab visible.

DebugViewer (Constructor)

DebugViewer(debugServer, docked, vm, parent = None, embeddedShell = True, embeddedBrowser = True)

Constructor

debugServer
reference to the debug server object
docked
flag indicating a dock window
vm
reference to the viewmanager object
parent
parent widget (QWidget)
embeddedShell
flag indicating whether the shell should be included. This flag is set to False by those layouts, that have the interpreter shell in a separate window.
embeddedBrowser
flag indicating whether the file browser should be included. This flag is set to False by those layouts, that have the file browser in a separate window or embedded in the project browser instead.

DebugViewer.__frameSelected

__frameSelected(frmnr)

Private slot to handle the selection of a new stack frame number.

frmnr
frame number (0 is the current frame) (int)

DebugViewer.__setGlobalsFilter

__setGlobalsFilter()

Private slot to set the global variable filter

DebugViewer.__setLocalsFilter

__setLocalsFilter()

Private slot to set the local variable filter

DebugViewer.__showSource

__showSource()

Private slot to handle the source button press to show the selected file.

DebugViewer.handleClientStack

handleClientStack(stack)

Public slot to show the call stack of the program being debugged.

DebugViewer.handleDebuggingStarted

handleDebuggingStarted()

Public slot to handle the start of a debugging session.

This slot sets the variables filter expressions.

DebugViewer.handleRawInput

handleRawInput()

Pulic slot to handle the switch to the shell in raw input mode.

DebugViewer.handleResetUI

handleResetUI()

Public method to reset the SBVviewer.

DebugViewer.restoreCurrentPage

restoreCurrentPage()

Public slot to restore the previously saved page.

DebugViewer.saveCurrentPage

saveCurrentPage()

Public slot to save the current page.

DebugViewer.setDebugger

setDebugger(debugUI)

Public method to set a reference to the Debug UI.

debugUI
reference to the DebugUI objectTrees

DebugViewer.setVariablesFilter

setVariablesFilter(globalsFilter, localsFilter)

Public slot to set the local variables filter.

globalsFilter
filter list for global variable types (list of int)
localsFilter
filter list for local variable types (list of int)

DebugViewer.setWD

setWD(wd)

Public slot to set the working directory of the program being debugged.

wd
working directory (string)

DebugViewer.showVariable

showVariable(vlist, globals)

Public method to show the variables in the respective window.

vlist
list of variables to display
globals
flag indicating global/local state

DebugViewer.showVariables

showVariables(vlist, globals)

Public method to show the variables in the respective window.

vlist
list of variables to display
globals
flag indicating global/local state

DebugViewer.showVariablesTab

showVariablesTab(globals)

Public method to make a variables tab visible.

globals
flag indicating global/local state
Up