eric6/Documentation/Source/eric6.Debugger.ExceptionLogger.html

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

eric ide

mercurial