eric3.UI.SBVviewer

Module implementing a tab widget conatining a shell, a browser, variables viewers and exception logger.

Classes

SBVviewer Module implementing tab widget conatining a shell, a browser, variables viewers and exception logger.

Functions

None

SBVviewer

Module implementing tab widget conatining a shell, a browser, variables viewers and exception logger. The individual tabs contain the Python shell (optional), the filesystem browser, the two variables viewers (global and local) and the exception logger in that order.

Signals

pythonFile(string, int)
emitted to open a Python file at a line

Derived from

QTabWidget

Methods

SBVviewer Constructor
handleClientStack Public slot to show the call stack of the program being debugged.
handleFrameSelected Private slot to handle the selection of a new stack frame number.
handleRawInput Pulic slot to handle the switch to the shell in raw input mode.
handleResetUI Public method to reset the SBVviewer.
handleShowSource Private slot to handle the source button press to show the selected file.
restoreCurrentPage Public slot to restore the previously saved page.
saveCurrentPage Public slot to save the current page.
setLocalVariablesFilter 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.

SBVviewer (Constructor)

SBVviewer(dbs, docked, vm, parent=None, noShell=0)

Constructor

dbs
reference to the debug server object
docked
flag indicating a dock window
noShell
flag indicating whether the shell should be excluded. This flag is set to 1 by those layouts, that have the Python shell in a separate window.
parent
parent widget (QWidget)
vm
reference to the viewmanager object

SBVviewer.handleClientStack

handleClientStack(stack)

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

SBVviewer.handleFrameSelected

handleFrameSelected(frmnr)

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

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

SBVviewer.handleRawInput

handleRawInput()

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

SBVviewer.handleResetUI

handleResetUI()

Public method to reset the SBVviewer.

SBVviewer.handleShowSource

handleShowSource()

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

SBVviewer.restoreCurrentPage

restoreCurrentPage()

Public slot to restore the previously saved page.

SBVviewer.saveCurrentPage

saveCurrentPage()

Public slot to save the current page.

SBVviewer.setLocalVariablesFilter

setLocalVariablesFilter(filter)

Public slot to set the local variables filter.

filter
filter list (list of int)

SBVviewer.setWD

setWD(wd)

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

wd
working directory (string)

SBVviewer.showVariable

showVariable(vlist, globals)

Public method to show the variables in the respective window.

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

SBVviewer.showVariables

showVariables(vlist, globals)

Public method to show the variables in the respective window.

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

SBVviewer.showVariablesTab

showVariablesTab(globals)

Public method to make a variables tab visible.

globals
flag indicating global/local state

Up