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

E3TabWidget

Methods

SBVviewer Constructor
handleClientStack Public slot to show the call stack of the program being debugged.
handleDebuggingStarted Public slot to handle the start of a debugging session.
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.
handleSetGlobalsFilter Private slot to set the global variable filter
handleSetLocalsFilter Private slot to set the local variable filter
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.
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.
showEvent Protected slot called when this widget is being shown.
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, embeddedShell=1, embeddedBrowser=1)

Constructor

dbs
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 0 by those layouts, that have the Python shell in a separate window.
embeddedBrowser
flag indicating whether the file browser should be included. This flag is set to 0 by those layouts, that have the file browser in a separate window or embedded in the project browser instead

SBVviewer.handleClientStack

handleClientStack(stack)

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

SBVviewer.handleDebuggingStarted

handleDebuggingStarted()

Public slot to handle the start of a debugging session.

This slot sets the variables filter expressions.

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.handleSetGlobalsFilter

handleSetGlobalsFilter()

Private slot to set the global variable filter

SBVviewer.handleSetLocalsFilter

handleSetLocalsFilter()

Private slot to set the local variable filter

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.setDebugger

setDebugger(dbg)

Public method to set a reference to the Debug UI.

dbg
reference to the DebugUI objectTrees

SBVviewer.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)

SBVviewer.setWD

setWD(wd)

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

wd
working directory (string)

SBVviewer.showEvent

showEvent(evt)

Protected slot called when this widget is being shown.

evt
the event (QShowEvent)

SBVviewer.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

SBVviewer.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

SBVviewer.showVariablesTab

showVariablesTab(globals)

Public method to make a variables tab visible.

globals
flag indicating global/local state

Up