src/eric7/Documentation/Source/eric7.DebugClients.Python.DebugClientBase.html

branch
eric7
changeset 10553
c5ef3ec68b75
parent 10479
856476537696
child 10684
58c7f23ae1cb
--- a/src/eric7/Documentation/Source/eric7.DebugClients.Python.DebugClientBase.html	Wed Feb 07 15:28:08 2024 +0100
+++ b/src/eric7/Documentation/Source/eric7.DebugClients.Python.DebugClientBase.html	Wed Feb 07 15:30:12 2024 +0100
@@ -154,6 +154,10 @@
 <td>Public method to convert a filename to an absolute name.</td>
 </tr>
 <tr>
+<td><a href="#DebugClientBase.checkExceptionHook">checkExceptionHook</a></td>
+<td>Public method to check, that 'sys.excepthook' is still our hook.</td>
+</tr>
+<tr>
 <td><a href="#DebugClientBase.close">close</a></td>
 <td>Public method implementing a close method as a replacement for os.close().</td>
 </tr>
@@ -666,6 +670,18 @@
 str
 </dd>
 </dl>
+<a NAME="DebugClientBase.checkExceptionHook" ID="DebugClientBase.checkExceptionHook"></a>
+<h4>DebugClientBase.checkExceptionHook</h4>
+<b>checkExceptionHook</b>(<i></i>)
+<p>
+        Public method to check, that 'sys.excepthook' is still our hook.
+</p>
+<p>
+        If the exception hook has been changed by the program being debugger, save
+        that hook and set it to ours again. The program's hook is called in our
+        '__unhandled_exception()' method.
+</p>
+
 <a NAME="DebugClientBase.close" ID="DebugClientBase.close"></a>
 <h4>DebugClientBase.close</h4>
 <b>close</b>(<i>fd</i>)

eric ide

mercurial