110 <dt>clientDisconnected(str)</dt> |
110 <dt>clientDisconnected(str)</dt> |
111 <dd> |
111 <dd> |
112 emitted after a debug client has |
112 emitted after a debug client has |
113 disconnected (i.e. closed the network socket) |
113 disconnected (i.e. closed the network socket) |
114 </dd> |
114 </dd> |
115 <dt>clientException(exceptionType, exceptionMessage, stackTrace,debuggerId)</dt> |
115 <dt>clientException(exceptionType, exceptionMessage, stackTrace,debuggerId, threadName)</dt> |
116 <dd> |
116 <dd> |
117 emitted after an exception occured on the client side |
117 emitted after an exception occured on the |
|
118 client side |
118 </dd> |
119 </dd> |
119 <dt>clientExit(str, int, str, bool, str)</dt> |
120 <dt>clientExit(str, int, str, bool, str)</dt> |
120 <dd> |
121 <dd> |
121 emitted after the client has |
122 emitted after the client has |
122 exited giving the program name, the exit status, an exit message, an |
123 exited giving the program name, the exit status, an exit message, an |
130 <dt>clientInterpreterChanged(str)</dt> |
131 <dt>clientInterpreterChanged(str)</dt> |
131 <dd> |
132 <dd> |
132 emitted to signal a change of the |
133 emitted to signal a change of the |
133 client interpreter |
134 client interpreter |
134 </dd> |
135 </dd> |
135 <dt>clientLine(filename, lineno, debuggerId, forStack)</dt> |
136 <dt>clientLine(filename, lineno, debuggerId, threadName, forStack)</dt> |
136 <dd> |
137 <dd> |
137 emitted after |
138 emitted after the debug client has executed a line of code |
138 the debug client has executed a line of code |
|
139 </dd> |
139 </dd> |
140 <dt>clientOutput(str)</dt> |
140 <dt>clientOutput(str)</dt> |
141 <dd> |
141 <dd> |
142 emitted after the client has sent some output |
142 emitted after the client has sent some output |
143 </dd> |
143 </dd> |
164 <dt>clientSignal(message, filename, linenumber, function name,function arguments, debuggerId)</dt> |
164 <dt>clientSignal(message, filename, linenumber, function name,function arguments, debuggerId)</dt> |
165 <dd> |
165 <dd> |
166 emitted after a signal has been |
166 emitted after a signal has been |
167 generated on the client side |
167 generated on the client side |
168 </dd> |
168 </dd> |
169 <dt>clientStack(stack, debuggerId)</dt> |
169 <dt>clientStack(stack, debuggerId, threadName)</dt> |
170 <dd> |
170 <dd> |
171 emitted after the debug client has |
171 emitted after the |
172 executed a line of code |
172 debug client has executed a line of code |
173 </dd> |
173 </dd> |
174 <dt>clientStatement(continue, debuggerId)</dt> |
174 <dt>clientStatement(continue, debuggerId)</dt> |
175 <dd> |
175 <dd> |
176 emitted after an interactive |
176 emitted after an interactive |
177 command has been executed. The parameter is False to indicate that the |
177 command has been executed. The parameter is False to indicate that the |
178 command is complete and True if it needs more input. |
178 command is complete and True if it needs more input. |
179 </dd> |
179 </dd> |
180 <dt>clientSyntaxError(message, filename, linenumber, characternumber,debuggerId)</dt> |
180 <dt>clientSyntaxError(message, filename, linenumber, characternumber,debuggerId, threadName)</dt> |
181 <dd> |
181 <dd> |
182 emitted after a syntax error has been detected on the |
182 emitted after a syntax error has been detected |
183 client side |
183 on the client side |
184 </dd> |
184 </dd> |
185 <dt>clientThreadList(currentId, threadList, debuggerId)</dt> |
185 <dt>clientThreadList(currentId, threadList, debuggerId)</dt> |
186 <dd> |
186 <dd> |
187 emitted after |
187 emitted after |
188 a thread list has been received |
188 a thread list has been received |
2840 ID of the debugger backend |
2840 ID of the debugger backend |
2841 </dd> |
2841 </dd> |
2842 </dl> |
2842 </dl> |
2843 <a NAME="DebugServer.signalClientException" ID="DebugServer.signalClientException"></a> |
2843 <a NAME="DebugServer.signalClientException" ID="DebugServer.signalClientException"></a> |
2844 <h4>DebugServer.signalClientException</h4> |
2844 <h4>DebugServer.signalClientException</h4> |
2845 <b>signalClientException</b>(<i>exceptionType, exceptionMessage, stackTrace, debuggerId</i>) |
2845 <b>signalClientException</b>(<i>exceptionType, exceptionMessage, stackTrace, debuggerId, threadName=""</i>) |
2846 |
2846 |
2847 <p> |
2847 <p> |
2848 Public method to process the exception info from the client. |
2848 Public method to process the exception info from the client. |
2849 </p> |
2849 </p> |
2850 <dl> |
2850 <dl> |
2865 </dd> |
2865 </dd> |
2866 <dt><i>debuggerId</i> (str)</dt> |
2866 <dt><i>debuggerId</i> (str)</dt> |
2867 <dd> |
2867 <dd> |
2868 ID of the debugger backend |
2868 ID of the debugger backend |
2869 </dd> |
2869 </dd> |
|
2870 <dt><i>threadName</i> (str)</dt> |
|
2871 <dd> |
|
2872 name of the thread signaling the event |
|
2873 </dd> |
2870 </dl> |
2874 </dl> |
2871 <a NAME="DebugServer.signalClientExit" ID="DebugServer.signalClientExit"></a> |
2875 <a NAME="DebugServer.signalClientExit" ID="DebugServer.signalClientExit"></a> |
2872 <h4>DebugServer.signalClientExit</h4> |
2876 <h4>DebugServer.signalClientExit</h4> |
2873 <b>signalClientExit</b>(<i>program, status, message, debuggerId</i>) |
2877 <b>signalClientExit</b>(<i>program, status, message, debuggerId</i>) |
2874 |
2878 |
2894 ID of the debugger backend |
2898 ID of the debugger backend |
2895 </dd> |
2899 </dd> |
2896 </dl> |
2900 </dl> |
2897 <a NAME="DebugServer.signalClientLine" ID="DebugServer.signalClientLine"></a> |
2901 <a NAME="DebugServer.signalClientLine" ID="DebugServer.signalClientLine"></a> |
2898 <h4>DebugServer.signalClientLine</h4> |
2902 <h4>DebugServer.signalClientLine</h4> |
2899 <b>signalClientLine</b>(<i>filename, lineno, debuggerId, forStack=False</i>) |
2903 <b>signalClientLine</b>(<i>filename, lineno, debuggerId, forStack=False, threadName=""</i>) |
2900 |
2904 |
2901 <p> |
2905 <p> |
2902 Public method to process client position feedback. |
2906 Public method to process client position feedback. |
2903 </p> |
2907 </p> |
2904 <dl> |
2908 <dl> |
2916 ID of the debugger backend |
2920 ID of the debugger backend |
2917 </dd> |
2921 </dd> |
2918 <dt><i>forStack</i> (bool)</dt> |
2922 <dt><i>forStack</i> (bool)</dt> |
2919 <dd> |
2923 <dd> |
2920 flag indicating this is for a stack dump |
2924 flag indicating this is for a stack dump |
|
2925 </dd> |
|
2926 <dt><i>threadName</i> (str)</dt> |
|
2927 <dd> |
|
2928 name of the thread signaling the event |
2921 </dd> |
2929 </dd> |
2922 </dl> |
2930 </dl> |
2923 <a NAME="DebugServer.signalClientOutput" ID="DebugServer.signalClientOutput"></a> |
2931 <a NAME="DebugServer.signalClientOutput" ID="DebugServer.signalClientOutput"></a> |
2924 <h4>DebugServer.signalClientOutput</h4> |
2932 <h4>DebugServer.signalClientOutput</h4> |
2925 <b>signalClientOutput</b>(<i>line, debuggerId</i>) |
2933 <b>signalClientOutput</b>(<i>line, debuggerId</i>) |
2994 ID of the debugger backend |
3002 ID of the debugger backend |
2995 </dd> |
3003 </dd> |
2996 </dl> |
3004 </dl> |
2997 <a NAME="DebugServer.signalClientStack" ID="DebugServer.signalClientStack"></a> |
3005 <a NAME="DebugServer.signalClientStack" ID="DebugServer.signalClientStack"></a> |
2998 <h4>DebugServer.signalClientStack</h4> |
3006 <h4>DebugServer.signalClientStack</h4> |
2999 <b>signalClientStack</b>(<i>stack, debuggerId</i>) |
3007 <b>signalClientStack</b>(<i>stack, debuggerId, threadName=""</i>) |
3000 |
3008 |
3001 <p> |
3009 <p> |
3002 Public method to process a client's stack information. |
3010 Public method to process a client's stack information. |
3003 </p> |
3011 </p> |
3004 <dl> |
3012 <dl> |
3009 values giving the filename, linenumber and method |
3017 values giving the filename, linenumber and method |
3010 </dd> |
3018 </dd> |
3011 <dt><i>debuggerId</i> (str)</dt> |
3019 <dt><i>debuggerId</i> (str)</dt> |
3012 <dd> |
3020 <dd> |
3013 ID of the debugger backend |
3021 ID of the debugger backend |
|
3022 </dd> |
|
3023 <dt><i>threadName</i> (str)</dt> |
|
3024 <dd> |
|
3025 name of the thread signaling the event |
3014 </dd> |
3026 </dd> |
3015 </dl> |
3027 </dl> |
3016 <a NAME="DebugServer.signalClientStatement" ID="DebugServer.signalClientStatement"></a> |
3028 <a NAME="DebugServer.signalClientStatement" ID="DebugServer.signalClientStatement"></a> |
3017 <h4>DebugServer.signalClientStatement</h4> |
3029 <h4>DebugServer.signalClientStatement</h4> |
3018 <b>signalClientStatement</b>(<i>more, debuggerId</i>) |
3030 <b>signalClientStatement</b>(<i>more, debuggerId</i>) |
3031 ID of the debugger backend |
3043 ID of the debugger backend |
3032 </dd> |
3044 </dd> |
3033 </dl> |
3045 </dl> |
3034 <a NAME="DebugServer.signalClientSyntaxError" ID="DebugServer.signalClientSyntaxError"></a> |
3046 <a NAME="DebugServer.signalClientSyntaxError" ID="DebugServer.signalClientSyntaxError"></a> |
3035 <h4>DebugServer.signalClientSyntaxError</h4> |
3047 <h4>DebugServer.signalClientSyntaxError</h4> |
3036 <b>signalClientSyntaxError</b>(<i>message, filename, lineNo, characterNo, debuggerId</i>) |
3048 <b>signalClientSyntaxError</b>(<i>message, filename, lineNo, characterNo, debuggerId, threadName=""</i>) |
3037 |
3049 |
3038 <p> |
3050 <p> |
3039 Public method to process a syntax error info from the client. |
3051 Public method to process a syntax error info from the client. |
3040 </p> |
3052 </p> |
3041 <dl> |
3053 <dl> |
3057 character number of the syntax error position |
3069 character number of the syntax error position |
3058 </dd> |
3070 </dd> |
3059 <dt><i>debuggerId</i> (str)</dt> |
3071 <dt><i>debuggerId</i> (str)</dt> |
3060 <dd> |
3072 <dd> |
3061 ID of the debugger backend |
3073 ID of the debugger backend |
|
3074 </dd> |
|
3075 <dt><i>threadName</i> (str)</dt> |
|
3076 <dd> |
|
3077 name of the thread signaling the event |
3062 </dd> |
3078 </dd> |
3063 </dl> |
3079 </dl> |
3064 <a NAME="DebugServer.signalClientThreadList" ID="DebugServer.signalClientThreadList"></a> |
3080 <a NAME="DebugServer.signalClientThreadList" ID="DebugServer.signalClientThreadList"></a> |
3065 <h4>DebugServer.signalClientThreadList</h4> |
3081 <h4>DebugServer.signalClientThreadList</h4> |
3066 <b>signalClientThreadList</b>(<i>currentId, threadList, debuggerId</i>) |
3082 <b>signalClientThreadList</b>(<i>currentId, threadList, debuggerId</i>) |