Documentation/Source/eric6.DebugClients.Python.DebugBase.html

changeset 5559
072d97551334
parent 5245
e1908fd9deac
child 5606
da305d172769
--- a/Documentation/Source/eric6.DebugClients.Python.DebugBase.html	Sat Feb 25 19:41:10 2017 +0100
+++ b/Documentation/Source/eric6.DebugClients.Python.DebugBase.html	Sat Feb 25 19:41:53 2017 +0100
@@ -83,6 +83,9 @@
 <td><a href="#DebugBase.__extractExceptionName">__extractExceptionName</a></td>
 <td>Private method to extract the exception name given the exception type object.</td>
 </tr><tr>
+<td><a href="#DebugBase.__extractSystemExitMessage">__extractSystemExitMessage</a></td>
+<td>Private method to get the SystemExit code and message.</td>
+</tr><tr>
 <td><a href="#DebugBase.__extract_stack">__extract_stack</a></td>
 <td>Private member to return a list of stack frames.</td>
 </tr><tr>
@@ -250,6 +253,26 @@
 <dd>
 exception name (string)
 </dd>
+</dl><a NAME="DebugBase.__extractSystemExitMessage" ID="DebugBase.__extractSystemExitMessage"></a>
+<h4>DebugBase.__extractSystemExitMessage</h4>
+<b>__extractSystemExitMessage</b>(<i>excinfo</i>)
+<p>
+        Private method to get the SystemExit code and message.
+</p><dl>
+<dt><i>excinfo</i> (tuple(Exception, excval object, traceback frame object))</dt>
+<dd>
+details about the SystemExit exception
+</dd>
+</dl><dl>
+<dt>Returns:</dt>
+<dd>
+SystemExit code and message
+</dd>
+</dl><dl>
+<dt>Return Type:</dt>
+<dd>
+int, str
+</dd>
 </dl><a NAME="DebugBase.__extract_stack" ID="DebugBase.__extract_stack"></a>
 <h4>DebugBase.__extract_stack</h4>
 <b>__extract_stack</b>(<i>exctb</i>)
@@ -494,7 +517,7 @@
 </dd>
 </dl><a NAME="DebugBase.run" ID="DebugBase.run"></a>
 <h4>DebugBase.run</h4>
-<b>run</b>(<i>cmd, globals=None, locals=None</i>)
+<b>run</b>(<i>cmd, globals=None, locals=None, debug=True</i>)
 <p>
         Public method to start a given command under debugger control.
 </p><dl>
@@ -507,6 +530,9 @@
 </dd><dt><i>locals=</i> (dict)</dt>
 <dd>
 dictionary of local variables for cmd
+</dd><dt><i>debug=</i> (bool)</dt>
+<dd>
+flag if command should run under debugger control
 </dd>
 </dl><a NAME="DebugBase.setRecursionDepth" ID="DebugBase.setRecursionDepth"></a>
 <h4>DebugBase.setRecursionDepth</h4>
@@ -672,14 +698,11 @@
 </dd>
 </dl><a NAME="DebugBase.user_exception" ID="DebugBase.user_exception"></a>
 <h4>DebugBase.user_exception</h4>
-<b>user_exception</b>(<i>frame, excinfo, unhandled=False</i>)
+<b>user_exception</b>(<i>excinfo, unhandled=False</i>)
 <p>
         Public method reimplemented to report an exception to the debug server.
 </p><dl>
-<dt><i>frame</i> (frame object)</dt>
-<dd>
-the frame object
-</dd><dt><i>excinfo</i> (tuple(Exception, excval object, traceback frame object))</dt>
+<dt><i>excinfo</i> (tuple(Exception, excval object, traceback frame object))</dt>
 <dd>
 details about the exception
 </dd><dt><i>unhandled=</i> (bool)</dt>

eric ide

mercurial