Documentation/Source/eric6.Debugger.ExceptionLogger.html

changeset 3673
e26d7d0c1088
equal deleted inserted replaced
3670:f0cb7579c0b4 3673:e26d7d0c1088
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric6.Debugger.ExceptionLogger</title>
4 <meta charset="UTF-8">
5 <style>
6 body {
7 background: #EDECE6;
8 margin: 0em 1em 10em 1em;
9 color: black;
10 }
11
12 h1 { color: white; background: #85774A; }
13 h2 { color: white; background: #85774A; }
14 h3 { color: white; background: #9D936E; }
15 h4 { color: white; background: #9D936E; }
16
17 a { color: #BA6D36; }
18
19 </style>
20 </head>
21 <body><a NAME="top" ID="top"></a>
22 <h1>eric6.Debugger.ExceptionLogger</h1>
23 <p>
24 Module implementing the Exception Logger widget.
25 </p>
26 <h3>Global Attributes</h3>
27 <table>
28 <tr><td>None</td></tr>
29 </table>
30 <h3>Classes</h3>
31 <table>
32 <tr>
33 <td><a href="#ExceptionLogger">ExceptionLogger</a></td>
34 <td>Class implementing the Exception Logger widget.</td>
35 </tr>
36 </table>
37 <h3>Functions</h3>
38 <table>
39 <tr><td>None</td></tr>
40 </table>
41 <hr /><hr />
42 <a NAME="ExceptionLogger" ID="ExceptionLogger"></a>
43 <h2>ExceptionLogger</h2>
44 <p>
45 Class implementing the Exception Logger widget.
46 </p><p>
47 This class displays a log of all exceptions having occured during
48 a debugging session.
49 </p><h3>Signals</h3>
50 <dl>
51 <dt>sourceFile(string, int)</dt>
52 <dd>
53 emitted to open a source file at a line
54 </dd>
55 </dl>
56 <h3>Derived from</h3>
57 QTreeWidget
58 <h3>Class Attributes</h3>
59 <table>
60 <tr><td>None</td></tr>
61 </table>
62 <h3>Class Methods</h3>
63 <table>
64 <tr><td>None</td></tr>
65 </table>
66 <h3>Methods</h3>
67 <table>
68 <tr>
69 <td><a href="#ExceptionLogger.__init__">ExceptionLogger</a></td>
70 <td>Constructor</td>
71 </tr><tr>
72 <td><a href="#ExceptionLogger.__configure">__configure</a></td>
73 <td>Private method to open the configuration dialog.</td>
74 </tr><tr>
75 <td><a href="#ExceptionLogger.__itemDoubleClicked">__itemDoubleClicked</a></td>
76 <td>Private slot to handle the double click of an item.</td>
77 </tr><tr>
78 <td><a href="#ExceptionLogger.__openSource">__openSource</a></td>
79 <td>Private slot to handle a double click on an entry.</td>
80 </tr><tr>
81 <td><a href="#ExceptionLogger.__showContextMenu">__showContextMenu</a></td>
82 <td>Private slot to show the context menu of the listview.</td>
83 </tr><tr>
84 <td><a href="#ExceptionLogger.addException">addException</a></td>
85 <td>Public slot to handle the arrival of a new exception.</td>
86 </tr><tr>
87 <td><a href="#ExceptionLogger.debuggingStarted">debuggingStarted</a></td>
88 <td>Public slot to clear the listview upon starting a new debugging session.</td>
89 </tr>
90 </table>
91 <h3>Static Methods</h3>
92 <table>
93 <tr><td>None</td></tr>
94 </table>
95 <a NAME="ExceptionLogger.__init__" ID="ExceptionLogger.__init__"></a>
96 <h4>ExceptionLogger (Constructor)</h4>
97 <b>ExceptionLogger</b>(<i>parent=None</i>)
98 <p>
99 Constructor
100 </p><dl>
101 <dt><i>parent</i></dt>
102 <dd>
103 the parent widget of this widget
104 </dd>
105 </dl><a NAME="ExceptionLogger.__configure" ID="ExceptionLogger.__configure"></a>
106 <h4>ExceptionLogger.__configure</h4>
107 <b>__configure</b>(<i></i>)
108 <p>
109 Private method to open the configuration dialog.
110 </p><a NAME="ExceptionLogger.__itemDoubleClicked" ID="ExceptionLogger.__itemDoubleClicked"></a>
111 <h4>ExceptionLogger.__itemDoubleClicked</h4>
112 <b>__itemDoubleClicked</b>(<i>itm</i>)
113 <p>
114 Private slot to handle the double click of an item.
115 </p><dl>
116 <dt><i>itm</i></dt>
117 <dd>
118 the item that was double clicked(QTreeWidgetItem), ignored
119 </dd>
120 </dl><a NAME="ExceptionLogger.__openSource" ID="ExceptionLogger.__openSource"></a>
121 <h4>ExceptionLogger.__openSource</h4>
122 <b>__openSource</b>(<i></i>)
123 <p>
124 Private slot to handle a double click on an entry.
125 </p><a NAME="ExceptionLogger.__showContextMenu" ID="ExceptionLogger.__showContextMenu"></a>
126 <h4>ExceptionLogger.__showContextMenu</h4>
127 <b>__showContextMenu</b>(<i>coord</i>)
128 <p>
129 Private slot to show the context menu of the listview.
130 </p><dl>
131 <dt><i>coord</i></dt>
132 <dd>
133 the global coordinates of the mouse pointer (QPoint)
134 </dd>
135 </dl><a NAME="ExceptionLogger.addException" ID="ExceptionLogger.addException"></a>
136 <h4>ExceptionLogger.addException</h4>
137 <b>addException</b>(<i>exceptionType, exceptionMessage, stackTrace</i>)
138 <p>
139 Public slot to handle the arrival of a new exception.
140 </p><dl>
141 <dt><i>exceptionType</i></dt>
142 <dd>
143 type of exception raised (string)
144 </dd><dt><i>exceptionMessage</i></dt>
145 <dd>
146 message given by the exception (string)
147 </dd><dt><i>stackTrace</i></dt>
148 <dd>
149 list of stack entries.
150 </dd>
151 </dl><a NAME="ExceptionLogger.debuggingStarted" ID="ExceptionLogger.debuggingStarted"></a>
152 <h4>ExceptionLogger.debuggingStarted</h4>
153 <b>debuggingStarted</b>(<i></i>)
154 <p>
155 Public slot to clear the listview upon starting a new debugging
156 session.
157 </p>
158 <div align="right"><a href="#top">Up</a></div>
159 <hr />
160 </body></html>

eric ide

mercurial