Fri, 01 Nov 2024 18:12:30 +0100
Debugger
- Added a configuration option to not stop at the first executable statement when debugging in passive mode.
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
1 | # -*- coding: utf-8 -*- |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
2 | |
10439
21c28b0f9e41
Updated copyright for 2024.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10417
diff
changeset
|
3 | # Copyright (c) 2007 - 2024 Detlev Offenbach <detlev@die-offenbachs.de> |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
4 | # |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
5 | |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
6 | """ |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
7 | Module implementing a dummy debugger interface for the debug server. |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
8 | """ |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
9 | |
8318
962bce857696
Replaced all imports of PyQt5 to PyQt6 and started to replace code using obsoleted methods and adapt to the PyQt6 enum usage.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
8312
diff
changeset
|
10 | from PyQt6.QtCore import QObject |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
11 | |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
12 | ClientDefaultCapabilities = 0 |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
13 | |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
14 | ClientTypeAssociations = [] |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
15 | |
945
8cd4d08fa9f6
Made code mostly PEP 8 compliant (except all whitespace and line length).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
791
diff
changeset
|
16 | |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
17 | class DebuggerInterfaceNone(QObject): |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
18 | """ |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
19 | Class implementing a dummy debugger interface for the debug server. |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
20 | """ |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
21 | |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
22 | def __init__(self, debugServer, passive): |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
23 | """ |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
24 | Constructor |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
25 | |
7882
617cc27f11af
Updated some source docu strings and added TODO markers.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7874
diff
changeset
|
26 | @param debugServer reference to the debug server |
617cc27f11af
Updated some source docu strings and added TODO markers.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7874
diff
changeset
|
27 | @type DebugServer |
617cc27f11af
Updated some source docu strings and added TODO markers.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7874
diff
changeset
|
28 | @param passive flag indicating passive connection mode |
617cc27f11af
Updated some source docu strings and added TODO markers.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7874
diff
changeset
|
29 | @type bool |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
30 | """ |
8218
7c09585bd960
Applied some more code simplifications suggested by the new Simplify checker (super(Foo, self) => super()).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7923
diff
changeset
|
31 | super().__init__() |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
32 | |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
33 | self.debugServer = debugServer |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
34 | self.passive = passive |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
35 | |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
36 | self.qsock = None |
10551
d80184d38152
Changed the interface to the debug client to make it a bit more robust and harmonize it with other such interfaces.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10439
diff
changeset
|
37 | self.__commandQueue = [] |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
38 | # set default values for capabilities of clients |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
39 | self.clientCapabilities = ClientDefaultCapabilities |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
40 | |
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
41 | def startRemote( |
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
42 | self, |
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
43 | port, |
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
44 | runInConsole, |
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
45 | venvName, |
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
46 | originalPathString, |
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
47 | workingDir=None, |
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
48 | configOverride=None, |
10985
91243eb0390d
Corrected an issue where the remote debugger configuration took precedence even when a script or project was loaded via an eric-ide server.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10630
diff
changeset
|
49 | startViaServer=None, |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
50 | ): |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
51 | """ |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
52 | Public method to start a remote Python interpreter. |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
53 | |
6352
4bdc6503df81
Continued to remove all explicit references to Python interpreters and replace them by references to virtual environments.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
6048
diff
changeset
|
54 | @param port port number the debug server is listening on |
4bdc6503df81
Continued to remove all explicit references to Python interpreters and replace them by references to virtual environments.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
6048
diff
changeset
|
55 | @type int |
945
8cd4d08fa9f6
Made code mostly PEP 8 compliant (except all whitespace and line length).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
791
diff
changeset
|
56 | @param runInConsole flag indicating to start the debugger in a |
6352
4bdc6503df81
Continued to remove all explicit references to Python interpreters and replace them by references to virtual environments.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
6048
diff
changeset
|
57 | console window |
4bdc6503df81
Continued to remove all explicit references to Python interpreters and replace them by references to virtual environments.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
6048
diff
changeset
|
58 | @type bool |
4bdc6503df81
Continued to remove all explicit references to Python interpreters and replace them by references to virtual environments.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
6048
diff
changeset
|
59 | @param venvName name of the virtual environment to be used |
4bdc6503df81
Continued to remove all explicit references to Python interpreters and replace them by references to virtual environments.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
6048
diff
changeset
|
60 | @type str |
6581
8eb6220f2bb7
Shell: changed code to start the shell/debugger backend with an unmodified PATH setting and added some more special commands (see what's this help of the shell).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
6354
diff
changeset
|
61 | @param originalPathString original PATH environment variable |
8eb6220f2bb7
Shell: changed code to start the shell/debugger backend with an unmodified PATH setting and added some more special commands (see what's this help of the shell).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
6354
diff
changeset
|
62 | @type str |
6633
c5aab2ede19a
Debugger, Shell: start the shell in the project directory if one is open ([issue290]).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
6581
diff
changeset
|
63 | @param workingDir directory to start the debugger client in |
c5aab2ede19a
Debugger, Shell: start the shell in the project directory if one is open ([issue290]).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
6581
diff
changeset
|
64 | @type str |
8964
29344a31ee2a
Implemented a fix for issue422 caused by an incomplete API of DebuggerInterfaceNone.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
8881
diff
changeset
|
65 | @param configOverride dictionary containing the global config override |
29344a31ee2a
Implemented a fix for issue422 caused by an incomplete API of DebuggerInterfaceNone.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
8881
diff
changeset
|
66 | data |
29344a31ee2a
Implemented a fix for issue422 caused by an incomplete API of DebuggerInterfaceNone.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
8881
diff
changeset
|
67 | @type dict |
10985
91243eb0390d
Corrected an issue where the remote debugger configuration took precedence even when a script or project was loaded via an eric-ide server.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10630
diff
changeset
|
68 | @param startViaServer flag indicating to start the client via an eric-ide server |
91243eb0390d
Corrected an issue where the remote debugger configuration took precedence even when a script or project was loaded via an eric-ide server.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10630
diff
changeset
|
69 | (defaults to None) |
10630
552a790fd9bc
Corrected some issues and improved some existing code with respect to eric-ide server use.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10551
diff
changeset
|
70 | @type bool (optional) |
6352
4bdc6503df81
Continued to remove all explicit references to Python interpreters and replace them by references to virtual environments.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
6048
diff
changeset
|
71 | @return client process object, a flag to indicate a network connection |
4bdc6503df81
Continued to remove all explicit references to Python interpreters and replace them by references to virtual environments.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
6048
diff
changeset
|
72 | and the name of the interpreter in case of a local execution |
4bdc6503df81
Continued to remove all explicit references to Python interpreters and replace them by references to virtual environments.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
6048
diff
changeset
|
73 | @rtype tuple of (QProcess, bool, str) |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
74 | """ |
3357
2390df6f42ba
Started to change the file browser model such, that the sys.path entry is dependent on the running interpreter.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
3160
diff
changeset
|
75 | return None, True, "" |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
76 | |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
77 | def startRemoteForProject( |
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
78 | self, |
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
79 | port, |
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
80 | runInConsole, |
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
81 | venvName, |
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
82 | originalPathString, |
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
83 | workingDir=None, |
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
84 | configOverride=None, |
10985
91243eb0390d
Corrected an issue where the remote debugger configuration took precedence even when a script or project was loaded via an eric-ide server.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10630
diff
changeset
|
85 | startViaServer=None, |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
86 | ): |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
87 | """ |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
88 | Public method to start a remote Python interpreter for a project. |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
89 | |
6352
4bdc6503df81
Continued to remove all explicit references to Python interpreters and replace them by references to virtual environments.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
6048
diff
changeset
|
90 | @param port port number the debug server is listening on |
4bdc6503df81
Continued to remove all explicit references to Python interpreters and replace them by references to virtual environments.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
6048
diff
changeset
|
91 | @type int |
945
8cd4d08fa9f6
Made code mostly PEP 8 compliant (except all whitespace and line length).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
791
diff
changeset
|
92 | @param runInConsole flag indicating to start the debugger in a |
6352
4bdc6503df81
Continued to remove all explicit references to Python interpreters and replace them by references to virtual environments.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
6048
diff
changeset
|
93 | console window |
4bdc6503df81
Continued to remove all explicit references to Python interpreters and replace them by references to virtual environments.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
6048
diff
changeset
|
94 | @type bool |
4bdc6503df81
Continued to remove all explicit references to Python interpreters and replace them by references to virtual environments.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
6048
diff
changeset
|
95 | @param venvName name of the virtual environment to be used |
4bdc6503df81
Continued to remove all explicit references to Python interpreters and replace them by references to virtual environments.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
6048
diff
changeset
|
96 | @type str |
6581
8eb6220f2bb7
Shell: changed code to start the shell/debugger backend with an unmodified PATH setting and added some more special commands (see what's this help of the shell).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
6354
diff
changeset
|
97 | @param originalPathString original PATH environment variable |
8eb6220f2bb7
Shell: changed code to start the shell/debugger backend with an unmodified PATH setting and added some more special commands (see what's this help of the shell).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
6354
diff
changeset
|
98 | @type str |
6633
c5aab2ede19a
Debugger, Shell: start the shell in the project directory if one is open ([issue290]).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
6581
diff
changeset
|
99 | @param workingDir directory to start the debugger client in |
c5aab2ede19a
Debugger, Shell: start the shell in the project directory if one is open ([issue290]).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
6581
diff
changeset
|
100 | @type str |
8964
29344a31ee2a
Implemented a fix for issue422 caused by an incomplete API of DebuggerInterfaceNone.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
8881
diff
changeset
|
101 | @param configOverride dictionary containing the global config override |
29344a31ee2a
Implemented a fix for issue422 caused by an incomplete API of DebuggerInterfaceNone.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
8881
diff
changeset
|
102 | data |
29344a31ee2a
Implemented a fix for issue422 caused by an incomplete API of DebuggerInterfaceNone.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
8881
diff
changeset
|
103 | @type dict |
10985
91243eb0390d
Corrected an issue where the remote debugger configuration took precedence even when a script or project was loaded via an eric-ide server.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10630
diff
changeset
|
104 | @param startViaServer flag indicating to start the client via an eric-ide server |
91243eb0390d
Corrected an issue where the remote debugger configuration took precedence even when a script or project was loaded via an eric-ide server.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10630
diff
changeset
|
105 | (defaults to None) |
10630
552a790fd9bc
Corrected some issues and improved some existing code with respect to eric-ide server use.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10551
diff
changeset
|
106 | @type bool (optional) |
6352
4bdc6503df81
Continued to remove all explicit references to Python interpreters and replace them by references to virtual environments.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
6048
diff
changeset
|
107 | @return client process object, a flag to indicate a network connection |
4bdc6503df81
Continued to remove all explicit references to Python interpreters and replace them by references to virtual environments.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
6048
diff
changeset
|
108 | and the name of the interpreter in case of a local execution |
4bdc6503df81
Continued to remove all explicit references to Python interpreters and replace them by references to virtual environments.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
6048
diff
changeset
|
109 | @rtype tuple of (QProcess, bool, str) |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
110 | """ |
3357
2390df6f42ba
Started to change the file browser model such, that the sys.path entry is dependent on the running interpreter.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
3160
diff
changeset
|
111 | return None, True, "" |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
112 | |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
113 | def getClientCapabilities(self): |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
114 | """ |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
115 | Public method to retrieve the debug clients capabilities. |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
116 | |
7882
617cc27f11af
Updated some source docu strings and added TODO markers.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7874
diff
changeset
|
117 | @return debug client capabilities |
617cc27f11af
Updated some source docu strings and added TODO markers.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7874
diff
changeset
|
118 | @rtype int |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
119 | """ |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
120 | return self.clientCapabilities |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
121 | |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
122 | def newConnection(self, sock): |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
123 | """ |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
124 | Public slot to handle a new connection. |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
125 | |
7882
617cc27f11af
Updated some source docu strings and added TODO markers.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7874
diff
changeset
|
126 | @param sock reference to the socket object |
617cc27f11af
Updated some source docu strings and added TODO markers.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7874
diff
changeset
|
127 | @type QTcpSocket |
617cc27f11af
Updated some source docu strings and added TODO markers.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7874
diff
changeset
|
128 | @return flag indicating success |
617cc27f11af
Updated some source docu strings and added TODO markers.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7874
diff
changeset
|
129 | @rtype bool |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
130 | """ |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
131 | return False |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
132 | |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
133 | def getDebuggerIds(self): |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
134 | """ |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
135 | Public method to return the IDs of the connected debugger backends. |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
136 | |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
137 | @return list of connected debugger backend IDs |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
138 | @rtype list of str |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
139 | """ |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
140 | return [] |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
141 | |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
142 | def shutdown(self): |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
143 | """ |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
144 | Public method to cleanly shut down. |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
145 | |
7882
617cc27f11af
Updated some source docu strings and added TODO markers.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7874
diff
changeset
|
146 | It closes our socket and shuts down the debug client. |
617cc27f11af
Updated some source docu strings and added TODO markers.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7874
diff
changeset
|
147 | (Needed on Win OS) |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
148 | """ |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
149 | self.qsock = None |
10551
d80184d38152
Changed the interface to the debug client to make it a bit more robust and harmonize it with other such interfaces.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10439
diff
changeset
|
150 | self.__commandQueue.clear() |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
151 | |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
152 | def isConnected(self): |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
153 | """ |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
154 | Public method to test, if a debug client has connected. |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
155 | |
7882
617cc27f11af
Updated some source docu strings and added TODO markers.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7874
diff
changeset
|
156 | @return flag indicating the connection status |
617cc27f11af
Updated some source docu strings and added TODO markers.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7874
diff
changeset
|
157 | @rtype bool |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
158 | """ |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
159 | return self.qsock is not None |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
160 | |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
161 | def remoteEnvironment(self, env): |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
162 | """ |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
163 | Public method to set the environment for a program to debug, run, ... |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
164 | |
7882
617cc27f11af
Updated some source docu strings and added TODO markers.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7874
diff
changeset
|
165 | @param env environment settings |
617cc27f11af
Updated some source docu strings and added TODO markers.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7874
diff
changeset
|
166 | @type dict |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
167 | """ |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
168 | return |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
169 | |
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
170 | def remoteLoad( |
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
171 | self, |
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
172 | fn, |
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
173 | argv, |
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
174 | wd, |
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
175 | traceInterpreter=False, |
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
176 | autoContinue=True, |
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
177 | enableMultiprocess=False, |
10321 | 178 | reportAllExceptions=False, |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
179 | ): |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
180 | """ |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
181 | Public method to load a new program to debug. |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
182 | |
10417
c6011e501282
Modernized some code and converted Debug Client and Debugger source code documentation to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10321
diff
changeset
|
183 | @param fn filename to debug |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
184 | @type str |
10417
c6011e501282
Modernized some code and converted Debug Client and Debugger source code documentation to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10321
diff
changeset
|
185 | @param argv list of command line arguments to pass to the program |
c6011e501282
Modernized some code and converted Debug Client and Debugger source code documentation to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10321
diff
changeset
|
186 | @type list of str |
c6011e501282
Modernized some code and converted Debug Client and Debugger source code documentation to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10321
diff
changeset
|
187 | @param wd working directory for the program |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
188 | @type str |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
189 | @param traceInterpreter flag indicating if the interpreter library |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
190 | should be traced as well |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
191 | @type bool |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
192 | @param autoContinue flag indicating, that the debugger should not |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
193 | stop at the first executable line |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
194 | @type bool |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
195 | @param enableMultiprocess flag indicating to perform multiprocess |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
196 | debugging |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
197 | @type bool |
10321 | 198 | @param reportAllExceptions flag indicating to report all exceptions |
199 | instead of unhandled exceptions only | |
200 | @type bool | |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
201 | """ |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
202 | return |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
203 | |
7874
8dcb77600690
Debugger: removed the 'fork' options for the Run and Debug start options because they are obsolete.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7867
diff
changeset
|
204 | def remoteRun(self, fn, argv, wd): |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
205 | """ |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
206 | Public method to load a new program to run. |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
207 | |
10417
c6011e501282
Modernized some code and converted Debug Client and Debugger source code documentation to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10321
diff
changeset
|
208 | @param fn filename to run |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
209 | @type str |
10417
c6011e501282
Modernized some code and converted Debug Client and Debugger source code documentation to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10321
diff
changeset
|
210 | @param argv list of command line arguments to pass to the program |
c6011e501282
Modernized some code and converted Debug Client and Debugger source code documentation to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10321
diff
changeset
|
211 | @type list of str |
c6011e501282
Modernized some code and converted Debug Client and Debugger source code documentation to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10321
diff
changeset
|
212 | @param wd working directory for the program |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
213 | @type str |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
214 | """ |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
215 | return |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
216 | |
945
8cd4d08fa9f6
Made code mostly PEP 8 compliant (except all whitespace and line length).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
791
diff
changeset
|
217 | def remoteCoverage(self, fn, argv, wd, erase=False): |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
218 | """ |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
219 | Public method to load a new program to collect coverage data. |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
220 | |
10417
c6011e501282
Modernized some code and converted Debug Client and Debugger source code documentation to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10321
diff
changeset
|
221 | @param fn filename to run |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
222 | @type str |
10417
c6011e501282
Modernized some code and converted Debug Client and Debugger source code documentation to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10321
diff
changeset
|
223 | @param argv list of command line arguments to pass to the program |
c6011e501282
Modernized some code and converted Debug Client and Debugger source code documentation to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10321
diff
changeset
|
224 | @type list of str |
c6011e501282
Modernized some code and converted Debug Client and Debugger source code documentation to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10321
diff
changeset
|
225 | @param wd working directory for the program |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
226 | @type str |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
227 | @param erase flag indicating that coverage info should be |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
228 | cleared first |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
229 | @type bool |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
230 | """ |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
231 | return |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
232 | |
945
8cd4d08fa9f6
Made code mostly PEP 8 compliant (except all whitespace and line length).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
791
diff
changeset
|
233 | def remoteProfile(self, fn, argv, wd, erase=False): |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
234 | """ |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
235 | Public method to load a new program to collect profiling data. |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
236 | |
10417
c6011e501282
Modernized some code and converted Debug Client and Debugger source code documentation to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10321
diff
changeset
|
237 | @param fn filename to run |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
238 | @type str |
10417
c6011e501282
Modernized some code and converted Debug Client and Debugger source code documentation to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10321
diff
changeset
|
239 | @param argv list of command line arguments to pass to the program |
c6011e501282
Modernized some code and converted Debug Client and Debugger source code documentation to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10321
diff
changeset
|
240 | @type list of str |
c6011e501282
Modernized some code and converted Debug Client and Debugger source code documentation to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10321
diff
changeset
|
241 | @param wd working directory for the program |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
242 | @type str |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
243 | @param erase flag indicating that timing info should be cleared |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
244 | first |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
245 | @type bool |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
246 | """ |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
247 | return |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
248 | |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
249 | def remoteStatement(self, debuggerId, stmt): |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
250 | """ |
945
8cd4d08fa9f6
Made code mostly PEP 8 compliant (except all whitespace and line length).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
791
diff
changeset
|
251 | Public method to execute a Python statement. |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
252 | |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
253 | @param debuggerId ID of the debugger backend |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
254 | @type str |
10417
c6011e501282
Modernized some code and converted Debug Client and Debugger source code documentation to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10321
diff
changeset
|
255 | @param stmt Python statement to execute. |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
256 | @type str |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
257 | """ |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
258 | self.debugServer.signalClientStatement(False, "") |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
259 | return |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
260 | |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
261 | def remoteStep(self, debuggerId): |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
262 | """ |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
263 | Public method to single step the debugged program. |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
264 | |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
265 | @param debuggerId ID of the debugger backend |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
266 | @type str |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
267 | """ |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
268 | return |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
269 | |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
270 | def remoteStepOver(self, debuggerId): |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
271 | """ |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
272 | Public method to step over the debugged program. |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
273 | |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
274 | @param debuggerId ID of the debugger backend |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
275 | @type str |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
276 | """ |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
277 | return |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
278 | |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
279 | def remoteStepOut(self, debuggerId): |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
280 | """ |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
281 | Public method to step out the debugged program. |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
282 | |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
283 | @param debuggerId ID of the debugger backend |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
284 | @type str |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
285 | """ |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
286 | return |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
287 | |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
288 | def remoteStepQuit(self, debuggerId): |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
289 | """ |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
290 | Public method to stop the debugged program. |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
291 | |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
292 | @param debuggerId ID of the debugger backend |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
293 | @type str |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
294 | """ |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
295 | return |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
296 | |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
297 | def remoteContinue(self, debuggerId, special=False): |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
298 | """ |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
299 | Public method to continue the debugged program. |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
300 | |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
301 | @param debuggerId ID of the debugger backend |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
302 | @type str |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
303 | @param special flag indicating a special continue operation |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
304 | @type bool |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
305 | """ |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
306 | return |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
307 | |
7897
9acc015ea443
Debugger: added support for the "Continue Until" debug action.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7882
diff
changeset
|
308 | def remoteContinueUntil(self, debuggerId, line): |
9acc015ea443
Debugger: added support for the "Continue Until" debug action.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7882
diff
changeset
|
309 | """ |
9acc015ea443
Debugger: added support for the "Continue Until" debug action.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7882
diff
changeset
|
310 | Public method to continue the debugged program to the given line |
9acc015ea443
Debugger: added support for the "Continue Until" debug action.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7882
diff
changeset
|
311 | or until returning from the current frame. |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
312 | |
7897
9acc015ea443
Debugger: added support for the "Continue Until" debug action.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7882
diff
changeset
|
313 | @param debuggerId ID of the debugger backend |
9acc015ea443
Debugger: added support for the "Continue Until" debug action.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7882
diff
changeset
|
314 | @type str |
10417
c6011e501282
Modernized some code and converted Debug Client and Debugger source code documentation to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10321
diff
changeset
|
315 | @param line new line, where execution should be continued to |
7897
9acc015ea443
Debugger: added support for the "Continue Until" debug action.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7882
diff
changeset
|
316 | @type int |
9acc015ea443
Debugger: added support for the "Continue Until" debug action.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7882
diff
changeset
|
317 | """ |
9acc015ea443
Debugger: added support for the "Continue Until" debug action.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7882
diff
changeset
|
318 | return |
9acc015ea443
Debugger: added support for the "Continue Until" debug action.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7882
diff
changeset
|
319 | |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
320 | def remoteMoveIP(self, debuggerId, line): |
5658
e5f6fe5855fd
move the instruction pointer within the current function (Hotkey: F12)
T.Rzepka <Tobias.Rzepka@gmail.com>
parents:
5587
diff
changeset
|
321 | """ |
e5f6fe5855fd
move the instruction pointer within the current function (Hotkey: F12)
T.Rzepka <Tobias.Rzepka@gmail.com>
parents:
5587
diff
changeset
|
322 | Public method to move the instruction pointer to a different line. |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
323 | |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
324 | @param debuggerId ID of the debugger backend |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
325 | @type str |
10417
c6011e501282
Modernized some code and converted Debug Client and Debugger source code documentation to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10321
diff
changeset
|
326 | @param line new line, where execution should be continued |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
327 | @type int |
5658
e5f6fe5855fd
move the instruction pointer within the current function (Hotkey: F12)
T.Rzepka <Tobias.Rzepka@gmail.com>
parents:
5587
diff
changeset
|
328 | """ |
e5f6fe5855fd
move the instruction pointer within the current function (Hotkey: F12)
T.Rzepka <Tobias.Rzepka@gmail.com>
parents:
5587
diff
changeset
|
329 | return |
e5f6fe5855fd
move the instruction pointer within the current function (Hotkey: F12)
T.Rzepka <Tobias.Rzepka@gmail.com>
parents:
5587
diff
changeset
|
330 | |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
331 | def remoteBreakpoint( |
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
332 | self, debuggerId, fn, line, setBreakpoint, cond=None, temp=False |
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
333 | ): |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
334 | """ |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
335 | Public method to set or clear a breakpoint. |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
336 | |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
337 | @param debuggerId ID of the debugger backend |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
338 | @type str |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
339 | @param fn filename the breakpoint belongs to |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
340 | @type str |
10417
c6011e501282
Modernized some code and converted Debug Client and Debugger source code documentation to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10321
diff
changeset
|
341 | @param line line number of the breakpoint |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
342 | @type int |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
343 | @param setBreakpoint flag indicating setting or resetting a breakpoint |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
344 | @type bool |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
345 | @param cond condition of the breakpoint |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
346 | @type str |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
347 | @param temp flag indicating a temporary breakpoint |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
348 | @type bool |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
349 | """ |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
350 | return |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
351 | |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
352 | def remoteBreakpointEnable(self, debuggerId, fn, line, enable): |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
353 | """ |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
354 | Public method to enable or disable a breakpoint. |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
355 | |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
356 | @param debuggerId ID of the debugger backend |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
357 | @type str |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
358 | @param fn filename the breakpoint belongs to |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
359 | @type str |
10417
c6011e501282
Modernized some code and converted Debug Client and Debugger source code documentation to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10321
diff
changeset
|
360 | @param line line number of the breakpoint |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
361 | @type int |
2988
f53c03574697
Continued to shorten the code lines to max. 79 characters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
2302
diff
changeset
|
362 | @param enable flag indicating enabling or disabling a breakpoint |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
363 | @type bool |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
364 | """ |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
365 | return |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
366 | |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
367 | def remoteBreakpointIgnore(self, debuggerId, fn, line, count): |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
368 | """ |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
369 | Public method to ignore a breakpoint the next couple of occurrences. |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
370 | |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
371 | @param debuggerId ID of the debugger backend |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
372 | @type str |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
373 | @param fn filename the breakpoint belongs to |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
374 | @type str |
10417
c6011e501282
Modernized some code and converted Debug Client and Debugger source code documentation to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10321
diff
changeset
|
375 | @param line line number of the breakpoint |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
376 | @type int |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
377 | @param count number of occurrences to ignore |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
378 | @type int |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
379 | """ |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
380 | return |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
381 | |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
382 | def remoteWatchpoint(self, debuggerId, cond, setWatch, temp=False): |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
383 | """ |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
384 | Public method to set or clear a watch expression. |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
385 | |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
386 | @param debuggerId ID of the debugger backend |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
387 | @type str |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
388 | @param cond expression of the watch expression |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
389 | @type str |
5587
ea526b78ee6c
Started to fix code style issues detected by the extended style checker.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
5389
diff
changeset
|
390 | @param setWatch flag indicating setting or resetting a watch expression |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
391 | @type bool |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
392 | @param temp flag indicating a temporary watch expression |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
393 | @type bool |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
394 | """ |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
395 | return |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
396 | |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
397 | def remoteWatchpointEnable(self, debuggerId, cond, enable): |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
398 | """ |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
399 | Public method to enable or disable a watch expression. |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
400 | |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
401 | @param debuggerId ID of the debugger backend |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
402 | @type str |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
403 | @param cond expression of the watch expression |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
404 | @type str |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
405 | @param enable flag indicating enabling or disabling a watch expression |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
406 | @type bool |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
407 | """ |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
408 | return |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
409 | |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
410 | def remoteWatchpointIgnore(self, debuggerId, cond, count): |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
411 | """ |
2988
f53c03574697
Continued to shorten the code lines to max. 79 characters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
2302
diff
changeset
|
412 | Public method to ignore a watch expression the next couple of |
f53c03574697
Continued to shorten the code lines to max. 79 characters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
2302
diff
changeset
|
413 | occurrences. |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
414 | |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
415 | @param debuggerId ID of the debugger backend |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
416 | @type str |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
417 | @param cond expression of the watch expression |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
418 | @type str |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
419 | @param count number of occurrences to ignore |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
420 | @type int |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
421 | """ |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
422 | return |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
423 | |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
424 | def remoteRawInput(self, debuggerId, inputString): |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
425 | """ |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
426 | Public method to send the raw input to the debugged program. |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
427 | |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
428 | @param debuggerId ID of the debugger backend |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
429 | @type str |
10417
c6011e501282
Modernized some code and converted Debug Client and Debugger source code documentation to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10321
diff
changeset
|
430 | @param inputString raw input |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
431 | @type str |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
432 | """ |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
433 | return |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
434 | |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
435 | def remoteThreadList(self, debuggerId): |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
436 | """ |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
437 | Public method to request the list of threads from the client. |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
438 | |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
439 | @param debuggerId ID of the debugger backend |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
440 | @type str |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
441 | """ |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
442 | return |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
443 | |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
444 | def remoteSetThread(self, debuggerId, tid): |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
445 | """ |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
446 | Public method to request to set the given thread as current thread. |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
447 | |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
448 | @param debuggerId ID of the debugger backend |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
449 | @type str |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
450 | @param tid id of the thread |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
451 | @type int |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
452 | """ |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
453 | return |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
454 | |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
455 | def remoteClientStack(self, debuggerId): |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
456 | """ |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
457 | Public method to request the stack of the main thread. |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
458 | |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
459 | @param debuggerId ID of the debugger backend |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
460 | @type str |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
461 | """ |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
462 | return |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
463 | |
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
464 | def remoteClientVariables( |
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
465 | self, debuggerId, scope, filterList, framenr=0, maxSize=0 |
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
466 | ): |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
467 | """ |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
468 | Public method to request the variables of the debugged program. |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
469 | |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
470 | @param debuggerId ID of the debugger backend |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
471 | @type str |
10417
c6011e501282
Modernized some code and converted Debug Client and Debugger source code documentation to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10321
diff
changeset
|
472 | @param scope scope of the variables (0 = local, 1 = global) |
5964
066e6c78a367
Introduced a configuration option for the debugger variables viewers to limit the variables shown by the variables viewers depending on their size (in order to avoid overload situations on low power or low memory machines).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
5899
diff
changeset
|
473 | @type int |
066e6c78a367
Introduced a configuration option for the debugger variables viewers to limit the variables shown by the variables viewers depending on their size (in order to avoid overload situations on low power or low memory machines).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
5899
diff
changeset
|
474 | @param filterList list of variable types to filter out |
7862
817ef8e0fa66
Debugger: changed the handling of variable type filters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7780
diff
changeset
|
475 | @type list of str |
5964
066e6c78a367
Introduced a configuration option for the debugger variables viewers to limit the variables shown by the variables viewers depending on their size (in order to avoid overload situations on low power or low memory machines).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
5899
diff
changeset
|
476 | @param framenr framenumber of the variables to retrieve |
066e6c78a367
Introduced a configuration option for the debugger variables viewers to limit the variables shown by the variables viewers depending on their size (in order to avoid overload situations on low power or low memory machines).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
5899
diff
changeset
|
477 | @type int |
066e6c78a367
Introduced a configuration option for the debugger variables viewers to limit the variables shown by the variables viewers depending on their size (in order to avoid overload situations on low power or low memory machines).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
5899
diff
changeset
|
478 | @param maxSize maximum size the formatted value of a variable will |
066e6c78a367
Introduced a configuration option for the debugger variables viewers to limit the variables shown by the variables viewers depending on their size (in order to avoid overload situations on low power or low memory machines).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
5899
diff
changeset
|
479 | be shown. If it is bigger than that, a 'too big' indication will |
066e6c78a367
Introduced a configuration option for the debugger variables viewers to limit the variables shown by the variables viewers depending on their size (in order to avoid overload situations on low power or low memory machines).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
5899
diff
changeset
|
480 | be given (@@TOO_BIG_TO_SHOW@@). |
066e6c78a367
Introduced a configuration option for the debugger variables viewers to limit the variables shown by the variables viewers depending on their size (in order to avoid overload situations on low power or low memory machines).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
5899
diff
changeset
|
481 | @type int |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
482 | """ |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
483 | return |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
484 | |
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
485 | def remoteClientVariable( |
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
486 | self, debuggerId, scope, filterList, var, framenr=0, maxSize=0 |
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
487 | ): |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
488 | """ |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
489 | Public method to request the variables of the debugged program. |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
490 | |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
491 | @param debuggerId ID of the debugger backend |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
492 | @type str |
10417
c6011e501282
Modernized some code and converted Debug Client and Debugger source code documentation to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10321
diff
changeset
|
493 | @param scope scope of the variables (0 = local, 1 = global) |
5964
066e6c78a367
Introduced a configuration option for the debugger variables viewers to limit the variables shown by the variables viewers depending on their size (in order to avoid overload situations on low power or low memory machines).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
5899
diff
changeset
|
494 | @type int |
066e6c78a367
Introduced a configuration option for the debugger variables viewers to limit the variables shown by the variables viewers depending on their size (in order to avoid overload situations on low power or low memory machines).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
5899
diff
changeset
|
495 | @param filterList list of variable types to filter out |
7862
817ef8e0fa66
Debugger: changed the handling of variable type filters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7780
diff
changeset
|
496 | @type list of str |
5964
066e6c78a367
Introduced a configuration option for the debugger variables viewers to limit the variables shown by the variables viewers depending on their size (in order to avoid overload situations on low power or low memory machines).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
5899
diff
changeset
|
497 | @param var list encoded name of variable to retrieve |
066e6c78a367
Introduced a configuration option for the debugger variables viewers to limit the variables shown by the variables viewers depending on their size (in order to avoid overload situations on low power or low memory machines).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
5899
diff
changeset
|
498 | @type list of str |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
499 | @param framenr framenumber of the variables to retrieve |
5964
066e6c78a367
Introduced a configuration option for the debugger variables viewers to limit the variables shown by the variables viewers depending on their size (in order to avoid overload situations on low power or low memory machines).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
5899
diff
changeset
|
500 | @type int |
066e6c78a367
Introduced a configuration option for the debugger variables viewers to limit the variables shown by the variables viewers depending on their size (in order to avoid overload situations on low power or low memory machines).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
5899
diff
changeset
|
501 | @param maxSize maximum size the formatted value of a variable will |
066e6c78a367
Introduced a configuration option for the debugger variables viewers to limit the variables shown by the variables viewers depending on their size (in order to avoid overload situations on low power or low memory machines).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
5899
diff
changeset
|
502 | be shown. If it is bigger than that, a 'too big' indication will |
066e6c78a367
Introduced a configuration option for the debugger variables viewers to limit the variables shown by the variables viewers depending on their size (in order to avoid overload situations on low power or low memory machines).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
5899
diff
changeset
|
503 | be given (@@TOO_BIG_TO_SHOW@@). |
066e6c78a367
Introduced a configuration option for the debugger variables viewers to limit the variables shown by the variables viewers depending on their size (in order to avoid overload situations on low power or low memory machines).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
5899
diff
changeset
|
504 | @type int |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
505 | """ |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
506 | return |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
507 | |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
508 | def remoteClientDisassembly(self, debuggerId): |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
509 | """ |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
510 | Public method to ask the client for the latest traceback disassembly. |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
511 | |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
512 | @param debuggerId ID of the debugger backend |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
513 | @type str |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
514 | """ |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
515 | return |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
516 | |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
517 | def remoteClientSetFilter(self, debuggerId, scope, filterStr): |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
518 | """ |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
519 | Public method to set a variables filter list. |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
520 | |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
521 | @param debuggerId ID of the debugger backend |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
522 | @type str |
10417
c6011e501282
Modernized some code and converted Debug Client and Debugger source code documentation to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10321
diff
changeset
|
523 | @param scope scope of the variables (0 = local, 1 = global) |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
524 | @type int |
5587
ea526b78ee6c
Started to fix code style issues detected by the extended style checker.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
5389
diff
changeset
|
525 | @param filterStr regexp string for variable names to filter out |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
526 | @type str |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
527 | """ |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
528 | return |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
529 | |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
530 | def setCallTraceEnabled(self, debuggerId, on): |
2171
c7dd548d67d8
Finished the coding part of the call trace functionality.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
1509
diff
changeset
|
531 | """ |
c7dd548d67d8
Finished the coding part of the call trace functionality.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
1509
diff
changeset
|
532 | Public method to set the call trace state. |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
533 | |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
534 | @param debuggerId ID of the debugger backend |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
535 | @type str |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
536 | @param on flag indicating to enable the call trace function |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
537 | @type bool |
2171
c7dd548d67d8
Finished the coding part of the call trace functionality.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
1509
diff
changeset
|
538 | """ |
c7dd548d67d8
Finished the coding part of the call trace functionality.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
1509
diff
changeset
|
539 | return |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
540 | |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
541 | def remoteNoDebugList(self, debuggerId, noDebugList): |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
542 | """ |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
543 | Public method to set a list of programs not to be debugged. |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
544 | |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
545 | The programs given in the list will not be run under the control |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
546 | of the multi process debugger. |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
547 | |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
548 | @param debuggerId ID of the debugger backend |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
549 | @type str |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
550 | @param noDebugList list of Python programs not to be debugged |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
551 | @type list of str |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
552 | """ |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
553 | return |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
554 | |
6354
9ec941fc1a91
DebuggerInterfaceNone: added a forgotten method.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
6352
diff
changeset
|
555 | def remoteBanner(self): |
9ec941fc1a91
DebuggerInterfaceNone: added a forgotten method.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
6352
diff
changeset
|
556 | """ |
9ec941fc1a91
DebuggerInterfaceNone: added a forgotten method.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
6352
diff
changeset
|
557 | Public slot to get the banner info of the remote client. |
9ec941fc1a91
DebuggerInterfaceNone: added a forgotten method.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
6352
diff
changeset
|
558 | """ |
9ec941fc1a91
DebuggerInterfaceNone: added a forgotten method.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
6352
diff
changeset
|
559 | return |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
560 | |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
561 | def remoteCapabilities(self, debuggerId): |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
562 | """ |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
563 | Public slot to get the debug clients capabilities. |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
564 | |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
565 | @param debuggerId ID of the debugger backend |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
566 | @type str |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
567 | """ |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
568 | return |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
569 | |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
570 | def remoteCompletion(self, debuggerId, text): |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
571 | """ |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
572 | Public slot to get the a list of possible commandline completions |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
573 | from the remote client. |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
574 | |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
575 | @param debuggerId ID of the debugger backend |
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
576 | @type str |
10417
c6011e501282
Modernized some code and converted Debug Client and Debugger source code documentation to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10321
diff
changeset
|
577 | @param text text to be completed |
7867
aa870fdd40d8
DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
7863
diff
changeset
|
578 | @type str |
0
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
579 | """ |
de9c2efb9d02
Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
580 | return |
9074
1afb90182258
Removed unit test related functionality from the debugger in favor of the new Testing interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
8964
diff
changeset
|
581 | |
11029 | 582 | def setAutoContinue(self, autoContinue): |
583 | """ | |
584 | Public method to set the automatic continue flag of the interface. | |
585 | ||
586 | If this is set to True, the debugger will tell the debug client to continue | |
587 | when it stops at the first line of the script to be debugged. | |
588 | ||
589 | @param autoContinue flag indicating the auto continue state | |
590 | @type bool | |
591 | """ | |
592 | return | |
593 | ||
4553
a6b2acd1a355
Added a debugger interface registry to allow debuggers being implemented as plug-ins and removed the defunct Ruby debugger.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
4021
diff
changeset
|
594 | |
a6b2acd1a355
Added a debugger interface registry to allow debuggers being implemented as plug-ins and removed the defunct Ruby debugger.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
4021
diff
changeset
|
595 | def createDebuggerInterfaceNone(debugServer, passive): |
a6b2acd1a355
Added a debugger interface registry to allow debuggers being implemented as plug-ins and removed the defunct Ruby debugger.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
4021
diff
changeset
|
596 | """ |
a6b2acd1a355
Added a debugger interface registry to allow debuggers being implemented as plug-ins and removed the defunct Ruby debugger.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
4021
diff
changeset
|
597 | Module function to create a debugger interface instance. |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
598 | |
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
599 | |
4553
a6b2acd1a355
Added a debugger interface registry to allow debuggers being implemented as plug-ins and removed the defunct Ruby debugger.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
4021
diff
changeset
|
600 | @param debugServer reference to the debug server |
a6b2acd1a355
Added a debugger interface registry to allow debuggers being implemented as plug-ins and removed the defunct Ruby debugger.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
4021
diff
changeset
|
601 | @type DebugServer |
a6b2acd1a355
Added a debugger interface registry to allow debuggers being implemented as plug-ins and removed the defunct Ruby debugger.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
4021
diff
changeset
|
602 | @param passive flag indicating passive connection mode |
a6b2acd1a355
Added a debugger interface registry to allow debuggers being implemented as plug-ins and removed the defunct Ruby debugger.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
4021
diff
changeset
|
603 | @type bool |
a6b2acd1a355
Added a debugger interface registry to allow debuggers being implemented as plug-ins and removed the defunct Ruby debugger.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
4021
diff
changeset
|
604 | @return instantiated debugger interface |
5850
7fae79975686
Unified the Python2 and Python3 debugger interfaces.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
5658
diff
changeset
|
605 | @rtype DebuggerInterfaceNone |
4553
a6b2acd1a355
Added a debugger interface registry to allow debuggers being implemented as plug-ins and removed the defunct Ruby debugger.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
4021
diff
changeset
|
606 | """ |
a6b2acd1a355
Added a debugger interface registry to allow debuggers being implemented as plug-ins and removed the defunct Ruby debugger.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
4021
diff
changeset
|
607 | return DebuggerInterfaceNone(debugServer, passive) |
a6b2acd1a355
Added a debugger interface registry to allow debuggers being implemented as plug-ins and removed the defunct Ruby debugger.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
4021
diff
changeset
|
608 | |
a6b2acd1a355
Added a debugger interface registry to allow debuggers being implemented as plug-ins and removed the defunct Ruby debugger.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
4021
diff
changeset
|
609 | |
a6b2acd1a355
Added a debugger interface registry to allow debuggers being implemented as plug-ins and removed the defunct Ruby debugger.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
4021
diff
changeset
|
610 | def getRegistryData(): |
a6b2acd1a355
Added a debugger interface registry to allow debuggers being implemented as plug-ins and removed the defunct Ruby debugger.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
4021
diff
changeset
|
611 | """ |
5850
7fae79975686
Unified the Python2 and Python3 debugger interfaces.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
5658
diff
changeset
|
612 | Module function to get characterizing data for the debugger interface. |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
613 | |
5850
7fae79975686
Unified the Python2 and Python3 debugger interfaces.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
5658
diff
changeset
|
614 | @return list of tuples containing the client type, the client capabilities, |
7fae79975686
Unified the Python2 and Python3 debugger interfaces.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
5658
diff
changeset
|
615 | the client file type associations and a reference to the creation |
7fae79975686
Unified the Python2 and Python3 debugger interfaces.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
5658
diff
changeset
|
616 | function |
7fae79975686
Unified the Python2 and Python3 debugger interfaces.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
5658
diff
changeset
|
617 | @rtype list of tuple of (str, int, list of str, function) |
4553
a6b2acd1a355
Added a debugger interface registry to allow debuggers being implemented as plug-ins and removed the defunct Ruby debugger.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
4021
diff
changeset
|
618 | """ |
9221
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
619 | return [ |
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
620 | ( |
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
621 | "None", |
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
622 | ClientDefaultCapabilities, |
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
623 | ClientTypeAssociations, |
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
624 | createDebuggerInterfaceNone, |
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
625 | ) |
bf71ee032bb4
Reformatted the source code using the 'Black' utility.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9209
diff
changeset
|
626 | ] |
10065
de4ae767b0e3
Corrected and checked some code style issues.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9653
diff
changeset
|
627 | |
de4ae767b0e3
Corrected and checked some code style issues.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9653
diff
changeset
|
628 | |
de4ae767b0e3
Corrected and checked some code style issues.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9653
diff
changeset
|
629 | # |
de4ae767b0e3
Corrected and checked some code style issues.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9653
diff
changeset
|
630 | # eflag: noqa = U100 |