diff -r 3a1ca2452c30 -r 2971d5d19951 eric6/Documentation/Source/eric6.Debugger.DebugViewer.html --- a/eric6/Documentation/Source/eric6.Debugger.DebugViewer.html Fri Jan 15 19:46:04 2021 +0100 +++ b/eric6/Documentation/Source/eric6.Debugger.DebugViewer.html Fri Jan 15 19:49:36 2021 +0100 @@ -28,7 +28,8 @@ <p> The views avaliable are: <ul> - <li>selector showing all connected debugger backends</li> + <li>selector showing all connected debugger backends with associated + threads</li> <li>variables viewer for global variables for the selected debug client</li> <li>variables viewer for local variables for the selected debug client</li> <li>call stack viewer for the selected debug client</li> @@ -36,7 +37,7 @@ <li>viewer for breakpoints</li> <li>viewer for watch expressions</li> <li>viewer for exceptions</li> - <li>viewer for threads for the selected debug client</li> + <li>viewer for a code disassembly for an exception<li> </ul> </p> <h3>Global Attributes</h3> @@ -89,7 +90,7 @@ <h3>Class Attributes</h3> <table> -<tr><td>DebuggerStateRole</td></tr><tr><td>ThreadIdRole</td></tr> +<tr><td>DebuggerStateRole</td></tr><tr><td>StateIcon</td></tr><tr><td>StateMessage</td></tr><tr><td>ThreadIdRole</td></tr> </table> <h3>Class Methods</h3> @@ -153,6 +154,10 @@ <td>Private method to set the icon for a specific debugger ID.</td> </tr> <tr> +<td><a href="#DebugViewer.__setThreadIconAndState">__setThreadIconAndState</a></td> +<td>Private method to set the icon for a specific thread name and debugger ID.</td> +</tr> +<tr> <td><a href="#DebugViewer.__showSource">__showSource</a></td> <td>Private slot to handle the source button press to show the selected file.</td> </tr> @@ -314,7 +319,7 @@ </dl> <a NAME="DebugViewer.__clientException" ID="DebugViewer.__clientException"></a> <h4>DebugViewer.__clientException</h4> -<b>__clientException</b>(<i>exceptionType, exceptionMessage, stackTrace, debuggerId</i>) +<b>__clientException</b>(<i>exceptionType, exceptionMessage, stackTrace, debuggerId, threadName</i>) <p> Private method to handle an exception of the debugged program. @@ -337,6 +342,10 @@ <dd> ID of the debugger backend </dd> +<dt><i>threadName</i> (str)</dt> +<dd> +name of the thread signaling the event +</dd> </dl> <a NAME="DebugViewer.__clientExit" ID="DebugViewer.__clientExit"></a> <h4>DebugViewer.__clientExit</h4> @@ -370,7 +379,7 @@ </dl> <a NAME="DebugViewer.__clientLine" ID="DebugViewer.__clientLine"></a> <h4>DebugViewer.__clientLine</h4> -<b>__clientLine</b>(<i>fn, line, debuggerId</i>) +<b>__clientLine</b>(<i>fn, line, debuggerId, threadName</i>) <p> Private method to handle a change to the current line. @@ -389,10 +398,14 @@ <dd> ID of the debugger backend </dd> +<dt><i>threadName</i> (str)</dt> +<dd> +name of the thread signaling the event +</dd> </dl> <a NAME="DebugViewer.__clientSyntaxError" ID="DebugViewer.__clientSyntaxError"></a> <h4>DebugViewer.__clientSyntaxError</h4> -<b>__clientSyntaxError</b>(<i>message, filename, lineNo, characterNo, debuggerId</i>) +<b>__clientSyntaxError</b>(<i>message, filename, lineNo, characterNo, debuggerId, threadName</i>) <p> Private method to handle a syntax error in the debugged program. @@ -419,6 +432,10 @@ <dd> ID of the debugger backend </dd> +<dt><i>threadName</i> (str)</dt> +<dd> +name of the thread signaling the event +</dd> </dl> <a NAME="DebugViewer.__debuggerSelected" ID="DebugViewer.__debuggerSelected"></a> <h4>DebugViewer.__debuggerSelected</h4> @@ -483,7 +500,7 @@ </dl> <a NAME="DebugViewer.__setDebuggerIconAndState" ID="DebugViewer.__setDebuggerIconAndState"></a> <h4>DebugViewer.__setDebuggerIconAndState</h4> -<b>__setDebuggerIconAndState</b>(<i>debuggerId, iconName, state</i>) +<b>__setDebuggerIconAndState</b>(<i>debuggerId, state</i>) <p> Private method to set the icon for a specific debugger ID. @@ -495,9 +512,29 @@ ID of the debugger backend (empty ID means the currently selected one) </dd> -<dt><i>iconName</i> (str)</dt> +<dt><i>state</i> (str)</dt> <dd> -name of the icon to be used +state of the debugger (broken, exception, running) +</dd> +</dl> +<a NAME="DebugViewer.__setThreadIconAndState" ID="DebugViewer.__setThreadIconAndState"></a> +<h4>DebugViewer.__setThreadIconAndState</h4> +<b>__setThreadIconAndState</b>(<i>debuggerId, threadName, state</i>) + +<p> + Private method to set the icon for a specific thread name and + debugger ID. +</p> +<dl> + +<dt><i>debuggerId</i> (str)</dt> +<dd> +ID of the debugger backend (empty ID means the + currently selected one) +</dd> +<dt><i>threadName</i> (str)</dt> +<dd> +name of the thread signaling the event </dd> <dt><i>state</i> (str)</dt> <dd>