eric7/Documentation/Source/eric7.Debugger.ExceptionLogger.html

branch
eric7
changeset 8372
e0227a7c850e
child 8596
d64760b2da50
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/eric7/Documentation/Source/eric7.Debugger.ExceptionLogger.html	Mon May 24 11:19:57 2021 +0200
@@ -0,0 +1,210 @@
+<!DOCTYPE html>
+<html><head>
+<title>eric7.Debugger.ExceptionLogger</title>
+<meta charset="UTF-8">
+<style>
+body {
+    background: #EDECE6;
+    margin: 0em 1em 10em 1em;
+    color: black;
+}
+
+h1 { color: white; background: #85774A; }
+h2 { color: white; background: #85774A; }
+h3 { color: white; background: #9D936E; }
+h4 { color: white; background: #9D936E; }
+    
+a { color: #BA6D36; }
+
+</style>
+</head>
+<body>
+<a NAME="top" ID="top"></a>
+<h1>eric7.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>
+<h3>Signals</h3>
+<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>Class Methods</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>
+<h3>Static Methods</h3>
+
+<table>
+<tr><td>None</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, debuggerId</i>)
+
+<p>
+        Public slot to handle the arrival of a new exception.
+</p>
+<dl>
+
+<dt><i>exceptionType</i> (str)</dt>
+<dd>
+type of exception raised
+</dd>
+<dt><i>exceptionMessage</i> (str)</dt>
+<dd>
+message given by the exception
+</dd>
+<dt><i>stackTrace</i> (list)</dt>
+<dd>
+list of stack entries
+</dd>
+<dt><i>debuggerId</i> (str)</dt>
+<dd>
+ID of the debugger backend
+</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>
\ No newline at end of file

eric ide

mercurial