# eric4.Debugger.ExceptionLogger

Module implementing the Exception Logger widget.

### Classes

ExceptionLogger | Class implementing the Exception Logger widget.

### Functions

None

## ExceptionLogger

Class implementing the Exception Logger widget.

This class displays a log of all exceptions having occured during a debugging session.

#### Signals

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

### Derived from

QTreeWidget

### Methods

ExceptionLogger | Constructor
__itemDoubleClicked | Private slot to handle the double click of an item.
__openSource | Private slot to handle a double click on an entry.
__showContextMenu | Private slot to show the context menu of the listview.
addException | Public slot to handle the arrival of a new exception.
debuggingStarted | Public slot to clear the listview upon starting a new debugging session.

#### ExceptionLogger (Constructor)

ExceptionLogger(parent=None)

Constructor

parent
  the parent widget of this widget

#### ExceptionLogger.__itemDoubleClicked

__itemDoubleClicked(itm)

Private slot to handle the double click of an item.

itm
  the item that was double clicked(QTreeWidgetItem), ignored

#### ExceptionLogger.__openSource

__openSource()

Private slot to handle a double click on an entry.

#### ExceptionLogger.__showContextMenu

__showContextMenu(coord)

Private slot to show the context menu of the listview.

coord
  the global coordinates of the mouse pointer (QPoint)

#### ExceptionLogger.addException

addException(exceptionType, exceptionMessage, stackTrace)

Public slot to handle the arrival of a new exception.

exceptionType
  type of exception raised (string)
exceptionMessage
  message given by the exception (string)
stackTrace
  list of stack entries.

#### ExceptionLogger.debuggingStarted

debuggingStarted()

Public slot to clear the listview upon starting a new debugging session.

Up