Documentation/Source/eric5.Debugger.ExceptionLogger.html

Wed, 24 Mar 2010 18:38:44 +0000

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Wed, 24 Mar 2010 18:38:44 +0000
changeset 153
ef200d69dba0
parent 58
37f0444c3479
child 409
0ea528e80202
permissions
-rw-r--r--

Added a few methods to Project.py to support the cooperation stuff.

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'
'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
<html><head>
<title>eric5.Debugger.ExceptionLogger</title>
<style>
body {
    background:white;
    margin: 0em 1em 10em 1em;
    color: black;
}

h1 { color: white; background: #4FA4FF; }
h2 { color: white; background: #4FA4FF; }
h3 { color: white; background: #00557F; }
h4 { color: white; background: #00557F; }
    
a { color: #AA5500; }

</style>
</head>
<body><a NAME="top" ID="top"></a>
<h1>eric5.Debugger.ExceptionLogger</h1>
<p>
Module implementing the Exception Logger widget.
</p>
<h3>Global Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Classes</h3>
<table>
<tr>
<td><a href="#ExceptionLogger">ExceptionLogger</a></td>
<td>Class implementing the Exception Logger widget.</td>
</tr>
</table>
<h3>Functions</h3>
<table>
<tr><td>None</td></tr>
</table>
<hr /><hr />
<a NAME="ExceptionLogger" ID="ExceptionLogger"></a>
<h2>ExceptionLogger</h2>
<p>
    Class implementing the Exception Logger widget.
</p><p>
    This class displays a log of all exceptions having occured during
    a debugging session.
</p><h4>Signals</h4>
<dl>
<dt>sourceFile(string, int)</dt>
<dd>
emitted to open a source file at a line
</dd>
</dl>
<h3>Derived from</h3>
QTreeWidget
<h3>Class Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Methods</h3>
<table>
<tr>
<td><a href="#ExceptionLogger.__init__">ExceptionLogger</a></td>
<td>Constructor</td>
</tr><tr>
<td><a href="#ExceptionLogger.__configure">__configure</a></td>
<td>Private method to open the configuration dialog.</td>
</tr><tr>
<td><a href="#ExceptionLogger.__itemDoubleClicked">__itemDoubleClicked</a></td>
<td>Private slot to handle the double click of an item.</td>
</tr><tr>
<td><a href="#ExceptionLogger.__openSource">__openSource</a></td>
<td>Private slot to handle a double click on an entry.</td>
</tr><tr>
<td><a href="#ExceptionLogger.__showContextMenu">__showContextMenu</a></td>
<td>Private slot to show the context menu of the listview.</td>
</tr><tr>
<td><a href="#ExceptionLogger.addException">addException</a></td>
<td>Public slot to handle the arrival of a new exception.</td>
</tr><tr>
<td><a href="#ExceptionLogger.debuggingStarted">debuggingStarted</a></td>
<td>Public slot to clear the listview upon starting a new debugging session.</td>
</tr>
</table>
<a NAME="ExceptionLogger.__init__" ID="ExceptionLogger.__init__"></a>
<h4>ExceptionLogger (Constructor)</h4>
<b>ExceptionLogger</b>(<i>parent=None</i>)
<p>
        Constructor
</p><dl>
<dt><i>parent</i></dt>
<dd>
the parent widget of this widget
</dd>
</dl><a NAME="ExceptionLogger.__configure" ID="ExceptionLogger.__configure"></a>
<h4>ExceptionLogger.__configure</h4>
<b>__configure</b>(<i></i>)
<p>
        Private method to open the configuration dialog.
</p><a NAME="ExceptionLogger.__itemDoubleClicked" ID="ExceptionLogger.__itemDoubleClicked"></a>
<h4>ExceptionLogger.__itemDoubleClicked</h4>
<b>__itemDoubleClicked</b>(<i>itm</i>)
<p>
        Private slot to handle the double click of an item. 
</p><dl>
<dt><i>itm</i></dt>
<dd>
the item that was double clicked(QTreeWidgetItem), ignored
</dd>
</dl><a NAME="ExceptionLogger.__openSource" ID="ExceptionLogger.__openSource"></a>
<h4>ExceptionLogger.__openSource</h4>
<b>__openSource</b>(<i></i>)
<p>
        Private slot to handle a double click on an entry.
</p><a NAME="ExceptionLogger.__showContextMenu" ID="ExceptionLogger.__showContextMenu"></a>
<h4>ExceptionLogger.__showContextMenu</h4>
<b>__showContextMenu</b>(<i>coord</i>)
<p>
        Private slot to show the context menu of the listview.
</p><dl>
<dt><i>coord</i></dt>
<dd>
the global coordinates of the mouse pointer (QPoint)
</dd>
</dl><a NAME="ExceptionLogger.addException" ID="ExceptionLogger.addException"></a>
<h4>ExceptionLogger.addException</h4>
<b>addException</b>(<i>exceptionType, exceptionMessage, stackTrace</i>)
<p>
        Public slot to handle the arrival of a new exception.
</p><dl>
<dt><i>exceptionType</i></dt>
<dd>
type of exception raised (string)
</dd><dt><i>exceptionMessage</i></dt>
<dd>
message given by the exception (string)
</dd><dt><i>stackTrace</i></dt>
<dd>
list of stack entries.
</dd>
</dl><a NAME="ExceptionLogger.debuggingStarted" ID="ExceptionLogger.debuggingStarted"></a>
<h4>ExceptionLogger.debuggingStarted</h4>
<b>debuggingStarted</b>(<i></i>)
<p>
        Public slot to clear the listview upon starting a new debugging session.
</p>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial