5 <link rel="stylesheet" href="styles.css"> |
5 <link rel="stylesheet" href="styles.css"> |
6 </head> |
6 </head> |
7 <body> |
7 <body> |
8 <a NAME="top" ID="top"></a> |
8 <a NAME="top" ID="top"></a> |
9 <h1>eric7.Debugger.ExceptionLogger</h1> |
9 <h1>eric7.Debugger.ExceptionLogger</h1> |
10 |
|
11 <p> |
10 <p> |
12 Module implementing the Exception Logger widget. |
11 Module implementing the Exception Logger widget. |
13 </p> |
12 </p> |
|
13 |
14 <h3>Global Attributes</h3> |
14 <h3>Global Attributes</h3> |
15 |
|
16 <table> |
15 <table> |
17 <tr><td>None</td></tr> |
16 <tr><td>None</td></tr> |
18 </table> |
17 </table> |
|
18 |
19 <h3>Classes</h3> |
19 <h3>Classes</h3> |
20 |
|
21 <table> |
20 <table> |
22 |
|
23 <tr> |
21 <tr> |
24 <td><a href="#ExceptionLogger">ExceptionLogger</a></td> |
22 <td><a href="#ExceptionLogger">ExceptionLogger</a></td> |
25 <td>Class implementing the Exception Logger widget.</td> |
23 <td>Class implementing the Exception Logger widget.</td> |
26 </tr> |
24 </tr> |
27 </table> |
25 </table> |
|
26 |
28 <h3>Functions</h3> |
27 <h3>Functions</h3> |
29 |
|
30 <table> |
28 <table> |
31 <tr><td>None</td></tr> |
29 <tr><td>None</td></tr> |
32 </table> |
30 </table> |
|
31 |
33 <hr /> |
32 <hr /> |
34 <hr /> |
33 <hr /> |
35 <a NAME="ExceptionLogger" ID="ExceptionLogger"></a> |
34 <a NAME="ExceptionLogger" ID="ExceptionLogger"></a> |
36 <h2>ExceptionLogger</h2> |
35 <h2>ExceptionLogger</h2> |
37 |
|
38 <p> |
36 <p> |
39 Class implementing the Exception Logger widget. |
37 Class implementing the Exception Logger widget. |
40 </p> |
38 </p> |
41 <p> |
39 <p> |
42 This class displays a log of all exceptions having occured during |
40 This class displays a log of all exceptions having occured during |
43 a debugging session. |
41 a debugging session. |
44 </p> |
42 </p> |
|
43 |
45 <h3>Signals</h3> |
44 <h3>Signals</h3> |
46 <dl> |
45 <dl> |
47 |
46 |
48 <dt>sourceFile(string, int)</dt> |
47 <dt>sourceFile(string, int)</dt> |
49 <dd> |
48 <dd> |
93 <tr> |
90 <tr> |
94 <td><a href="#ExceptionLogger.debuggingStarted">debuggingStarted</a></td> |
91 <td><a href="#ExceptionLogger.debuggingStarted">debuggingStarted</a></td> |
95 <td>Public slot to clear the listview upon starting a new debugging session.</td> |
92 <td>Public slot to clear the listview upon starting a new debugging session.</td> |
96 </tr> |
93 </tr> |
97 </table> |
94 </table> |
|
95 |
98 <h3>Static Methods</h3> |
96 <h3>Static Methods</h3> |
99 |
|
100 <table> |
97 <table> |
101 <tr><td>None</td></tr> |
98 <tr><td>None</td></tr> |
102 </table> |
99 </table> |
103 |
100 |
|
101 |
104 <a NAME="ExceptionLogger.__init__" ID="ExceptionLogger.__init__"></a> |
102 <a NAME="ExceptionLogger.__init__" ID="ExceptionLogger.__init__"></a> |
105 <h4>ExceptionLogger (Constructor)</h4> |
103 <h4>ExceptionLogger (Constructor)</h4> |
106 <b>ExceptionLogger</b>(<i>parent=None</i>) |
104 <b>ExceptionLogger</b>(<i>parent=None</i>) |
107 |
|
108 <p> |
105 <p> |
109 Constructor |
106 Constructor |
110 </p> |
107 </p> |
|
108 |
111 <dl> |
109 <dl> |
112 |
110 |
113 <dt><i>parent</i> (QWidget)</dt> |
111 <dt><i>parent</i> (QWidget)</dt> |
114 <dd> |
112 <dd> |
115 reference to the parent widget |
113 reference to the parent widget |
116 </dd> |
114 </dd> |
117 </dl> |
115 </dl> |
118 <a NAME="ExceptionLogger.__configure" ID="ExceptionLogger.__configure"></a> |
116 <a NAME="ExceptionLogger.__configure" ID="ExceptionLogger.__configure"></a> |
119 <h4>ExceptionLogger.__configure</h4> |
117 <h4>ExceptionLogger.__configure</h4> |
120 <b>__configure</b>(<i></i>) |
118 <b>__configure</b>(<i></i>) |
121 |
|
122 <p> |
119 <p> |
123 Private method to open the configuration dialog. |
120 Private method to open the configuration dialog. |
124 </p> |
121 </p> |
|
122 |
125 <a NAME="ExceptionLogger.__itemDoubleClicked" ID="ExceptionLogger.__itemDoubleClicked"></a> |
123 <a NAME="ExceptionLogger.__itemDoubleClicked" ID="ExceptionLogger.__itemDoubleClicked"></a> |
126 <h4>ExceptionLogger.__itemDoubleClicked</h4> |
124 <h4>ExceptionLogger.__itemDoubleClicked</h4> |
127 <b>__itemDoubleClicked</b>(<i>itm</i>) |
125 <b>__itemDoubleClicked</b>(<i>itm</i>) |
128 |
|
129 <p> |
126 <p> |
130 Private slot to handle the double click of an item. |
127 Private slot to handle the double click of an item. |
131 </p> |
128 </p> |
|
129 |
132 <dl> |
130 <dl> |
133 |
131 |
134 <dt><i>itm</i> (QTreeWidgetItem)</dt> |
132 <dt><i>itm</i> (QTreeWidgetItem)</dt> |
135 <dd> |
133 <dd> |
136 reference to the item that was double clicked (ignored) |
134 reference to the item that was double clicked (ignored) |
137 </dd> |
135 </dd> |
138 </dl> |
136 </dl> |
139 <a NAME="ExceptionLogger.__openSource" ID="ExceptionLogger.__openSource"></a> |
137 <a NAME="ExceptionLogger.__openSource" ID="ExceptionLogger.__openSource"></a> |
140 <h4>ExceptionLogger.__openSource</h4> |
138 <h4>ExceptionLogger.__openSource</h4> |
141 <b>__openSource</b>(<i></i>) |
139 <b>__openSource</b>(<i></i>) |
142 |
|
143 <p> |
140 <p> |
144 Private slot to handle a double click on an entry. |
141 Private slot to handle a double click on an entry. |
145 </p> |
142 </p> |
|
143 |
146 <a NAME="ExceptionLogger.__showContextMenu" ID="ExceptionLogger.__showContextMenu"></a> |
144 <a NAME="ExceptionLogger.__showContextMenu" ID="ExceptionLogger.__showContextMenu"></a> |
147 <h4>ExceptionLogger.__showContextMenu</h4> |
145 <h4>ExceptionLogger.__showContextMenu</h4> |
148 <b>__showContextMenu</b>(<i>coord</i>) |
146 <b>__showContextMenu</b>(<i>coord</i>) |
149 |
|
150 <p> |
147 <p> |
151 Private slot to show the context menu of the view. |
148 Private slot to show the context menu of the view. |
152 </p> |
149 </p> |
|
150 |
153 <dl> |
151 <dl> |
154 |
152 |
155 <dt><i>coord</i> (QPoint)</dt> |
153 <dt><i>coord</i> (QPoint)</dt> |
156 <dd> |
154 <dd> |
157 global coordinates of the mouse pointer |
155 global coordinates of the mouse pointer |
158 </dd> |
156 </dd> |
159 </dl> |
157 </dl> |
160 <a NAME="ExceptionLogger.addException" ID="ExceptionLogger.addException"></a> |
158 <a NAME="ExceptionLogger.addException" ID="ExceptionLogger.addException"></a> |
161 <h4>ExceptionLogger.addException</h4> |
159 <h4>ExceptionLogger.addException</h4> |
162 <b>addException</b>(<i>exceptionType, exceptionMessage, stackTrace, debuggerId</i>) |
160 <b>addException</b>(<i>exceptionType, exceptionMessage, stackTrace, debuggerId</i>) |
163 |
|
164 <p> |
161 <p> |
165 Public slot to handle the arrival of a new exception. |
162 Public slot to handle the arrival of a new exception. |
166 </p> |
163 </p> |
|
164 |
167 <dl> |
165 <dl> |
168 |
166 |
169 <dt><i>exceptionType</i> (str)</dt> |
167 <dt><i>exceptionType</i> (str)</dt> |
170 <dd> |
168 <dd> |
171 type of exception raised |
169 type of exception raised |