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

branch
eric7
changeset 9209
b99e7fd55fd3
parent 8596
d64760b2da50
child 10417
c6011e501282
equal deleted inserted replaced
9208:3fc8dfeb6ebe 9209:b99e7fd55fd3
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric7.Debugger.ExceptionLogger</title>
4 <meta charset="UTF-8">
5 <link rel="stylesheet" href="styles.css">
6 </head>
7 <body>
8 <a NAME="top" ID="top"></a>
9 <h1>eric7.Debugger.ExceptionLogger</h1>
10
11 <p>
12 Module implementing the Exception Logger widget.
13 </p>
14 <h3>Global Attributes</h3>
15
16 <table>
17 <tr><td>None</td></tr>
18 </table>
19 <h3>Classes</h3>
20
21 <table>
22
23 <tr>
24 <td><a href="#ExceptionLogger">ExceptionLogger</a></td>
25 <td>Class implementing the Exception Logger widget.</td>
26 </tr>
27 </table>
28 <h3>Functions</h3>
29
30 <table>
31 <tr><td>None</td></tr>
32 </table>
33 <hr />
34 <hr />
35 <a NAME="ExceptionLogger" ID="ExceptionLogger"></a>
36 <h2>ExceptionLogger</h2>
37
38 <p>
39 Class implementing the Exception Logger widget.
40 </p>
41 <p>
42 This class displays a log of all exceptions having occured during
43 a debugging session.
44 </p>
45 <h3>Signals</h3>
46 <dl>
47
48 <dt>sourceFile(string, int)</dt>
49 <dd>
50 emitted to open a source file at a line
51 </dd>
52 </dl>
53 <h3>Derived from</h3>
54 QTreeWidget
55 <h3>Class Attributes</h3>
56
57 <table>
58 <tr><td>None</td></tr>
59 </table>
60 <h3>Class Methods</h3>
61
62 <table>
63 <tr><td>None</td></tr>
64 </table>
65 <h3>Methods</h3>
66
67 <table>
68
69 <tr>
70 <td><a href="#ExceptionLogger.__init__">ExceptionLogger</a></td>
71 <td>Constructor</td>
72 </tr>
73 <tr>
74 <td><a href="#ExceptionLogger.__configure">__configure</a></td>
75 <td>Private method to open the configuration dialog.</td>
76 </tr>
77 <tr>
78 <td><a href="#ExceptionLogger.__itemDoubleClicked">__itemDoubleClicked</a></td>
79 <td>Private slot to handle the double click of an item.</td>
80 </tr>
81 <tr>
82 <td><a href="#ExceptionLogger.__openSource">__openSource</a></td>
83 <td>Private slot to handle a double click on an entry.</td>
84 </tr>
85 <tr>
86 <td><a href="#ExceptionLogger.__showContextMenu">__showContextMenu</a></td>
87 <td>Private slot to show the context menu of the listview.</td>
88 </tr>
89 <tr>
90 <td><a href="#ExceptionLogger.addException">addException</a></td>
91 <td>Public slot to handle the arrival of a new exception.</td>
92 </tr>
93 <tr>
94 <td><a href="#ExceptionLogger.debuggingStarted">debuggingStarted</a></td>
95 <td>Public slot to clear the listview upon starting a new debugging session.</td>
96 </tr>
97 </table>
98 <h3>Static Methods</h3>
99
100 <table>
101 <tr><td>None</td></tr>
102 </table>
103
104 <a NAME="ExceptionLogger.__init__" ID="ExceptionLogger.__init__"></a>
105 <h4>ExceptionLogger (Constructor)</h4>
106 <b>ExceptionLogger</b>(<i>parent=None</i>)
107
108 <p>
109 Constructor
110 </p>
111 <dl>
112
113 <dt><i>parent</i></dt>
114 <dd>
115 the parent widget of this widget
116 </dd>
117 </dl>
118 <a NAME="ExceptionLogger.__configure" ID="ExceptionLogger.__configure"></a>
119 <h4>ExceptionLogger.__configure</h4>
120 <b>__configure</b>(<i></i>)
121
122 <p>
123 Private method to open the configuration dialog.
124 </p>
125 <a NAME="ExceptionLogger.__itemDoubleClicked" ID="ExceptionLogger.__itemDoubleClicked"></a>
126 <h4>ExceptionLogger.__itemDoubleClicked</h4>
127 <b>__itemDoubleClicked</b>(<i>itm</i>)
128
129 <p>
130 Private slot to handle the double click of an item.
131 </p>
132 <dl>
133
134 <dt><i>itm</i></dt>
135 <dd>
136 the item that was double clicked(QTreeWidgetItem), ignored
137 </dd>
138 </dl>
139 <a NAME="ExceptionLogger.__openSource" ID="ExceptionLogger.__openSource"></a>
140 <h4>ExceptionLogger.__openSource</h4>
141 <b>__openSource</b>(<i></i>)
142
143 <p>
144 Private slot to handle a double click on an entry.
145 </p>
146 <a NAME="ExceptionLogger.__showContextMenu" ID="ExceptionLogger.__showContextMenu"></a>
147 <h4>ExceptionLogger.__showContextMenu</h4>
148 <b>__showContextMenu</b>(<i>coord</i>)
149
150 <p>
151 Private slot to show the context menu of the listview.
152 </p>
153 <dl>
154
155 <dt><i>coord</i></dt>
156 <dd>
157 the global coordinates of the mouse pointer (QPoint)
158 </dd>
159 </dl>
160 <a NAME="ExceptionLogger.addException" ID="ExceptionLogger.addException"></a>
161 <h4>ExceptionLogger.addException</h4>
162 <b>addException</b>(<i>exceptionType, exceptionMessage, stackTrace, debuggerId</i>)
163
164 <p>
165 Public slot to handle the arrival of a new exception.
166 </p>
167 <dl>
168
169 <dt><i>exceptionType</i> (str)</dt>
170 <dd>
171 type of exception raised
172 </dd>
173 <dt><i>exceptionMessage</i> (str)</dt>
174 <dd>
175 message given by the exception
176 </dd>
177 <dt><i>stackTrace</i> (list)</dt>
178 <dd>
179 list of stack entries
180 </dd>
181 <dt><i>debuggerId</i> (str)</dt>
182 <dd>
183 ID of the debugger backend
184 </dd>
185 </dl>
186 <a NAME="ExceptionLogger.debuggingStarted" ID="ExceptionLogger.debuggingStarted"></a>
187 <h4>ExceptionLogger.debuggingStarted</h4>
188 <b>debuggingStarted</b>(<i></i>)
189
190 <p>
191 Public slot to clear the listview upon starting a new debugging
192 session.
193 </p>
194 <div align="right"><a href="#top">Up</a></div>
195 <hr />
196 </body></html>

eric ide

mercurial