eric6/Debugger/DebuggerInterfaceNone.py

Sat, 27 Feb 2021 12:08:23 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 27 Feb 2021 12:08:23 +0100
changeset 8138
169e65a6787c
parent 7923
91e843545d9a
child 8043
0acf98cd089a
child 8218
7c09585bd960
permissions
-rw-r--r--

Shell: added functionality to show a prompt when the main client process has exited (e.g. a script ended).

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
7923
91e843545d9a Updated copyright for 2021.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 7897
diff changeset
3 # Copyright (c) 2007 - 2021 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
3656
441956d8fce5 Started porting eric5 to PyQt5.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 3484
diff changeset
10 from PyQt5.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
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
13 ClientDefaultCapabilities = 0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
14
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
15 ClientTypeAssociations = []
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
16
945
8cd4d08fa9f6 Made code mostly PEP 8 compliant (except all whitespace and line length).
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 791
diff changeset
17
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
18 class DebuggerInterfaceNone(QObject):
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
19 """
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
20 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
21 """
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
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
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 """
2525
8b507a9a2d40 Script changes: Future import added, super calls modified and unicode behavior for str.
T.Rzepka <Tobias.Rzepka@gmail.com>
parents: 2302
diff changeset
31 super(DebuggerInterfaceNone, self).__init__()
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
32
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
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
35
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
36 self.qsock = None
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
37 self.queue = []
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
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
40
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
41 def startRemote(self, port, runInConsole, venvName, originalPathString,
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
42 workingDir=None):
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
43 """
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
44 Public method to start a remote Python interpreter.
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
45
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
46 @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
47 @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
48 @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
49 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
50 @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
51 @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
52 @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
53 @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
54 @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
55 @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
56 @type str
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 @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
58 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
59 @rtype tuple of (QProcess, bool, str)
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
60 """
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
61 return None, True, ""
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
62
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
63 def startRemoteForProject(self, port, runInConsole, venvName,
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
64 originalPathString, workingDir=None):
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
65 """
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
66 Public method to start a remote Python interpreter for a project.
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
67
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
68 @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
69 @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
70 @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
71 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
72 @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
73 @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
74 @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
75 @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
76 @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
77 @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
78 @type str
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
79 @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
80 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
81 @rtype tuple of (QProcess, bool, str)
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
82 """
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
83 return None, True, ""
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
84
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
85 def getClientCapabilities(self):
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
86 """
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
87 Public method to retrieve the debug clients capabilities.
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
88
7882
617cc27f11af Updated some source docu strings and added TODO markers.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 7874
diff changeset
89 @return debug client capabilities
617cc27f11af Updated some source docu strings and added TODO markers.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 7874
diff changeset
90 @rtype int
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
91 """
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
92 return self.clientCapabilities
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
93
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
94 def newConnection(self, sock):
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
95 """
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
96 Public slot to handle a new connection.
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
97
7882
617cc27f11af Updated some source docu strings and added TODO markers.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 7874
diff changeset
98 @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
99 @type QTcpSocket
617cc27f11af Updated some source docu strings and added TODO markers.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 7874
diff changeset
100 @return flag indicating success
617cc27f11af Updated some source docu strings and added TODO markers.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 7874
diff changeset
101 @rtype bool
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
102 """
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
103 return False
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
104
aa870fdd40d8 DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 7863
diff changeset
105 def getDebuggerIds(self):
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
106 """
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
107 Public method to return the IDs of the connected debugger backends.
aa870fdd40d8 DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 7863
diff changeset
108
aa870fdd40d8 DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 7863
diff changeset
109 @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
110 @rtype list of str
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
111 """
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
112 return []
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
113
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
114 def shutdown(self):
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
115 """
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
116 Public method to cleanly shut down.
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
117
7882
617cc27f11af Updated some source docu strings and added TODO markers.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 7874
diff changeset
118 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
119 (Needed on Win OS)
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
120 """
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
121 self.qsock = None
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
122 self.queue = []
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 def isConnected(self):
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
125 """
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
126 Public method to test, if a debug client has connected.
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
127
7882
617cc27f11af Updated some source docu strings and added TODO markers.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 7874
diff changeset
128 @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
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 self.qsock is not None
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
132
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
133 def remoteEnvironment(self, env):
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
134 """
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
135 Public method to set the environment for a program to debug, run, ...
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
136
7882
617cc27f11af Updated some source docu strings and added TODO markers.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 7874
diff changeset
137 @param env environment settings
617cc27f11af Updated some source docu strings and added TODO markers.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 7874
diff changeset
138 @type dict
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
139 """
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
140 return
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
141
2988
f53c03574697 Continued to shorten the code lines to max. 79 characters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 2302
diff changeset
142 def remoteLoad(self, fn, argv, wd, traceInterpreter=False,
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
143 autoContinue=True, enableMultiprocess=False):
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
144 """
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
145 Public method to load a new program to debug.
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
146
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
147 @param fn the filename to debug
aa870fdd40d8 DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 7863
diff changeset
148 @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
149 @param argv the commandline arguments to pass to the program
aa870fdd40d8 DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 7863
diff changeset
150 @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
151 @param wd the working directory for the program
aa870fdd40d8 DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 7863
diff changeset
152 @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
153 @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
154 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
155 @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
156 @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
157 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
158 @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
159 @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
160 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
161 @type bool
0
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 return
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
164
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
165 def remoteRun(self, fn, argv, wd):
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
166 """
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
167 Public method to load a new program to run.
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
168
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
169 @param fn the filename to run
aa870fdd40d8 DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 7863
diff changeset
170 @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
171 @param argv the commandline arguments to pass to the program
aa870fdd40d8 DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 7863
diff changeset
172 @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
173 @param wd the working directory for the program
aa870fdd40d8 DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 7863
diff changeset
174 @type str
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
175 """
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
176 return
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
177
945
8cd4d08fa9f6 Made code mostly PEP 8 compliant (except all whitespace and line length).
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 791
diff changeset
178 def remoteCoverage(self, fn, argv, wd, erase=False):
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
179 """
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
180 Public method to load a new program to collect coverage data.
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
181
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
182 @param fn the filename to run
aa870fdd40d8 DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 7863
diff changeset
183 @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
184 @param argv the commandline arguments to pass to the program
aa870fdd40d8 DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 7863
diff changeset
185 @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
186 @param wd the working directory for the program
aa870fdd40d8 DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 7863
diff changeset
187 @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
188 @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
189 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
190 @type bool
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
191 """
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
192 return
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
193
945
8cd4d08fa9f6 Made code mostly PEP 8 compliant (except all whitespace and line length).
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 791
diff changeset
194 def remoteProfile(self, fn, argv, wd, erase=False):
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
195 """
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
196 Public method to load a new program to collect profiling data.
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
197
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
198 @param fn the filename to run
aa870fdd40d8 DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 7863
diff changeset
199 @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
200 @param argv the commandline arguments to pass to the program
aa870fdd40d8 DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 7863
diff changeset
201 @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
202 @param wd the working directory for the program
aa870fdd40d8 DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 7863
diff changeset
203 @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
204 @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
205 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
206 @type bool
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
207 """
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
208 return
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
209
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
210 def remoteStatement(self, debuggerId, stmt):
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
211 """
945
8cd4d08fa9f6 Made code mostly PEP 8 compliant (except all whitespace and line length).
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 791
diff changeset
212 Public method to execute a Python statement.
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
213
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
214 @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
215 @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
216 @param stmt the Python statement to execute.
aa870fdd40d8 DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 7863
diff changeset
217 @type str
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
218 """
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
219 self.debugServer.signalClientStatement(False, "")
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
220 return
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
221
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 def remoteStep(self, debuggerId):
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
223 """
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
224 Public method to single step the debugged 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
225
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 @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
227 @type str
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
228 """
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
229 return
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
230
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
231 def remoteStepOver(self, debuggerId):
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
232 """
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
233 Public method to step over the debugged 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
234
aa870fdd40d8 DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 7863
diff changeset
235 @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
236 @type str
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
237 """
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
238 return
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
239
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
240 def remoteStepOut(self, debuggerId):
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
241 """
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
242 Public method to step out the debugged 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
243
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 @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
245 @type str
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 remoteStepQuit(self, debuggerId):
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
250 """
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
251 Public method to stop the debugged 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
252
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
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
255 """
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
256 return
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 def remoteContinue(self, debuggerId, special=False):
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
259 """
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
260 Public method to continue the debugged program.
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
261
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
262 @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
263 @type str
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
264 @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
265 @type bool
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
266 """
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
267 return
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
268
7897
9acc015ea443 Debugger: added support for the "Continue Until" debug action.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 7882
diff changeset
269 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
270 """
9acc015ea443 Debugger: added support for the "Continue Until" debug action.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 7882
diff changeset
271 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
272 or until returning from the current frame.
9acc015ea443 Debugger: added support for the "Continue Until" debug action.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 7882
diff changeset
273
9acc015ea443 Debugger: added support for the "Continue Until" debug action.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 7882
diff changeset
274 @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
275 @type str
9acc015ea443 Debugger: added support for the "Continue Until" debug action.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 7882
diff changeset
276 @param line the new line, where execution should be continued to
9acc015ea443 Debugger: added support for the "Continue Until" debug action.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 7882
diff changeset
277 @type int
9acc015ea443 Debugger: added support for the "Continue Until" debug action.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 7882
diff changeset
278 """
9acc015ea443 Debugger: added support for the "Continue Until" debug action.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 7882
diff changeset
279 return
9acc015ea443 Debugger: added support for the "Continue Until" debug action.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 7882
diff changeset
280
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
281 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
282 """
e5f6fe5855fd move the instruction pointer within the current function (Hotkey: F12)
T.Rzepka <Tobias.Rzepka@gmail.com>
parents: 5587
diff changeset
283 Public method to move the instruction pointer to a different line.
e5f6fe5855fd move the instruction pointer within the current function (Hotkey: F12)
T.Rzepka <Tobias.Rzepka@gmail.com>
parents: 5587
diff changeset
284
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
285 @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
286 @type str
5658
e5f6fe5855fd move the instruction pointer within the current function (Hotkey: F12)
T.Rzepka <Tobias.Rzepka@gmail.com>
parents: 5587
diff changeset
287 @param line the 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
288 @type int
5658
e5f6fe5855fd move the instruction pointer within the current function (Hotkey: F12)
T.Rzepka <Tobias.Rzepka@gmail.com>
parents: 5587
diff changeset
289 """
e5f6fe5855fd move the instruction pointer within the current function (Hotkey: F12)
T.Rzepka <Tobias.Rzepka@gmail.com>
parents: 5587
diff changeset
290 return
e5f6fe5855fd move the instruction pointer within the current function (Hotkey: F12)
T.Rzepka <Tobias.Rzepka@gmail.com>
parents: 5587
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 def remoteBreakpoint(self, debuggerId, fn, line, setBreakpoint, cond=None,
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 temp=False):
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 Public method to set or clear a breakpoint.
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 @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
298 @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
299 @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
300 @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
301 @param line linenumber 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
302 @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
303 @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
304 @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
305 @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
306 @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
307 @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
308 @type bool
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
309 """
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
310 return
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
311
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
312 def remoteBreakpointEnable(self, debuggerId, fn, line, enable):
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
313 """
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
314 Public method to enable or disable a breakpoint.
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
315
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
316 @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
317 @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
318 @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
319 @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
320 @param line linenumber 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
321 @type int
2988
f53c03574697 Continued to shorten the code lines to max. 79 characters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 2302
diff changeset
322 @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
323 @type bool
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
324 """
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
325 return
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
326
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 def remoteBreakpointIgnore(self, debuggerId, fn, line, count):
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
328 """
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
329 Public method to ignore a breakpoint the next couple of occurrences.
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
330
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
331 @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
332 @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
333 @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
334 @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
335 @param line linenumber 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
336 @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
337 @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
338 @type int
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
339 """
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
340 return
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
341
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 def remoteWatchpoint(self, debuggerId, cond, setWatch, temp=False):
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
343 """
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
344 Public method to set or clear a watch expression.
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
345
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
346 @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
347 @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
348 @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
349 @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
350 @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
351 @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
352 @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
353 @type bool
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
354 """
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
355 return
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
356
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
357 def remoteWatchpointEnable(self, debuggerId, cond, enable):
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
358 """
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
359 Public method to enable or disable a watch expression.
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
360
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 @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
362 @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
363 @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
364 @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
365 @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
366 @type bool
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
367 """
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
368 return
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
369
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
370 def remoteWatchpointIgnore(self, debuggerId, cond, count):
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
371 """
2988
f53c03574697 Continued to shorten the code lines to max. 79 characters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 2302
diff changeset
372 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
373 occurrences.
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
374
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
375 @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
376 @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
377 @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
378 @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
379 @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
380 @type int
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
381 """
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
382 return
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
383
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
384 def remoteRawInput(self, debuggerId, inputString):
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
385 """
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
386 Public method to send the raw input to the debugged program.
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
387
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
388 @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
389 @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
390 @param inputString the raw input
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 str
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
392 """
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
393 return
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
394
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
395 def remoteThreadList(self, debuggerId):
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
396 """
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
397 Public method to request the list of threads from the client.
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
398
aa870fdd40d8 DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 7863
diff changeset
399 @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
400 @type str
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
401 """
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
402 return
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
403
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
404 def remoteSetThread(self, debuggerId, tid):
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
405 """
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
406 Public method to request to set the given thread as current thread.
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
407
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
408 @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
409 @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
410 @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
411 @type int
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
412 """
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
413 return
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
414
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 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
416 """
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 Public method to request the stack of the main thread.
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
418
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
419 @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
420 @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
421 """
aa870fdd40d8 DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 7863
diff changeset
422 return
aa870fdd40d8 DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 7863
diff changeset
423
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 remoteClientVariables(self, debuggerId, scope, filterList, framenr=0,
aa870fdd40d8 DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 7863
diff changeset
425 maxSize=0):
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
426 """
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
427 Public method to request the variables of the debugged program.
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
428
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
429 @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
430 @type str
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
431 @param scope the 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
432 @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
433 @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
434 @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
435 @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
436 @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
437 @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
438 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
439 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
440 @type int
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
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
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 remoteClientVariable(self, debuggerId, scope, filterList, var,
aa870fdd40d8 DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 7863
diff changeset
445 framenr=0, maxSize=0):
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
446 """
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
447 Public method to request the variables of the debugged program.
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
448
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
449 @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
450 @type str
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
451 @param scope the 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
452 @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
453 @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
454 @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
455 @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
456 @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
457 @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
458 @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
459 @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
460 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
461 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
462 @type int
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
463 """
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
464 return
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
465
aa870fdd40d8 DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 7863
diff changeset
466 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
467 """
aa870fdd40d8 DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 7863
diff changeset
468 Public method to ask the client for the latest traceback disassembly.
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
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
aa870fdd40d8 DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 7863
diff changeset
472 """
aa870fdd40d8 DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 7863
diff changeset
473 return
aa870fdd40d8 DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 7863
diff changeset
474
aa870fdd40d8 DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 7863
diff changeset
475 def remoteClientSetFilter(self, debuggerId, scope, filterStr):
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
476 """
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
477 Public method to set a variables filter list.
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
478
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
479 @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
480 @type str
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
481 @param scope the 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
482 @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
483 @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
484 @type str
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
485 """
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
486 return
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
487
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
488 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
489 """
c7dd548d67d8 Finished the coding part of the call trace functionality.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1509
diff changeset
490 Public method to set the call trace state.
c7dd548d67d8 Finished the coding part of the call trace functionality.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1509
diff changeset
491
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
492 @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
493 @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
494 @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
495 @type bool
2171
c7dd548d67d8 Finished the coding part of the call trace functionality.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1509
diff changeset
496 """
c7dd548d67d8 Finished the coding part of the call trace functionality.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1509
diff changeset
497 return
c7dd548d67d8 Finished the coding part of the call trace functionality.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1509
diff changeset
498
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 def remoteNoDebugList(self, debuggerId, noDebugList):
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
500 """
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
501 Public method to set a list of 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
502
aa870fdd40d8 DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 7863
diff changeset
503 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
504 of the multi process debugger.
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
505
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
506 @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
507 @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
508 @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
509 @type list of str
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
510 """
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
511 return
6354
9ec941fc1a91 DebuggerInterfaceNone: added a forgotten method.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 6352
diff changeset
512
9ec941fc1a91 DebuggerInterfaceNone: added a forgotten method.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 6352
diff changeset
513 def remoteBanner(self):
9ec941fc1a91 DebuggerInterfaceNone: added a forgotten method.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 6352
diff changeset
514 """
9ec941fc1a91 DebuggerInterfaceNone: added a forgotten method.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 6352
diff changeset
515 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
516 """
9ec941fc1a91 DebuggerInterfaceNone: added a forgotten method.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 6352
diff changeset
517 return
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
518
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
519 def remoteCapabilities(self, debuggerId):
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
520 """
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
521 Public slot to get the debug clients capabilities.
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
522
aa870fdd40d8 DebuggerInterfaceNone: adjusted the method signatures to the ones of the Python debugger interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 7863
diff changeset
523 @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
524 @type str
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
525 """
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
526 return
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
527
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
528 def remoteCompletion(self, debuggerId, text):
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
529 """
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
530 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
531 from the remote client.
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
532
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
533 @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
534 @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
535 @param text the text to be completed
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 @type str
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
537 """
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
538 return
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
539
6901
f2c774c8db7e UnittestDialog: implemented the remote part fo 'discover only'.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 6894
diff changeset
540 def remoteUTDiscover(self, syspath, workdir, discoveryStart):
f2c774c8db7e UnittestDialog: implemented the remote part fo 'discover only'.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 6894
diff changeset
541 """
f2c774c8db7e UnittestDialog: implemented the remote part fo 'discover only'.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 6894
diff changeset
542 Public method to perform a test case discovery.
f2c774c8db7e UnittestDialog: implemented the remote part fo 'discover only'.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 6894
diff changeset
543
f2c774c8db7e UnittestDialog: implemented the remote part fo 'discover only'.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 6894
diff changeset
544 @param syspath list of directories to be added to sys.path on the
f2c774c8db7e UnittestDialog: implemented the remote part fo 'discover only'.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 6894
diff changeset
545 remote side
f2c774c8db7e UnittestDialog: implemented the remote part fo 'discover only'.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 6894
diff changeset
546 @type list of str
f2c774c8db7e UnittestDialog: implemented the remote part fo 'discover only'.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 6894
diff changeset
547 @param workdir path name of the working directory
f2c774c8db7e UnittestDialog: implemented the remote part fo 'discover only'.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 6894
diff changeset
548 @type str
f2c774c8db7e UnittestDialog: implemented the remote part fo 'discover only'.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 6894
diff changeset
549 @param discoveryStart directory to start auto-discovery at
f2c774c8db7e UnittestDialog: implemented the remote part fo 'discover only'.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 6894
diff changeset
550 @type str
f2c774c8db7e UnittestDialog: implemented the remote part fo 'discover only'.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 6894
diff changeset
551 """
f2c774c8db7e UnittestDialog: implemented the remote part fo 'discover only'.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 6894
diff changeset
552 return
f2c774c8db7e UnittestDialog: implemented the remote part fo 'discover only'.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 6894
diff changeset
553
6892
c147620313c5 UnittestDialog: fixed an issue running tests for a project and removed the (obsolete) 'local' option.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 6645
diff changeset
554 def remoteUTPrepare(self, fn, tn, tfn, failed, cov, covname, coverase,
6904
3f35037a08d4 Unit Test: added capability to run test with debugger support and to stop the test on the first error or failure.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 6901
diff changeset
555 syspath, workdir, discover, discoveryStart, testCases,
3f35037a08d4 Unit Test: added capability to run test with debugger support and to stop the test on the first error or failure.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 6901
diff changeset
556 debug):
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
557 """
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
558 Public method to prepare a new unittest run.
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
559
6892
c147620313c5 UnittestDialog: fixed an issue running tests for a project and removed the (obsolete) 'local' option.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 6645
diff changeset
560 @param fn name of file to load
c147620313c5 UnittestDialog: fixed an issue running tests for a project and removed the (obsolete) 'local' option.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 6645
diff changeset
561 @type str
c147620313c5 UnittestDialog: fixed an issue running tests for a project and removed the (obsolete) 'local' option.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 6645
diff changeset
562 @param tn name of test to load
c147620313c5 UnittestDialog: fixed an issue running tests for a project and removed the (obsolete) 'local' option.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 6645
diff changeset
563 @type str
c147620313c5 UnittestDialog: fixed an issue running tests for a project and removed the (obsolete) 'local' option.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 6645
diff changeset
564 @param tfn test function name to load tests from
c147620313c5 UnittestDialog: fixed an issue running tests for a project and removed the (obsolete) 'local' option.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 6645
diff changeset
565 @type str
1499
b4d0457afb15 Extended the unit test module to allow to rerun only failed tests of the last.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1179
diff changeset
566 @param failed list of failed test, if only failed test should be run
6892
c147620313c5 UnittestDialog: fixed an issue running tests for a project and removed the (obsolete) 'local' option.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 6645
diff changeset
567 @type list of str
2988
f53c03574697 Continued to shorten the code lines to max. 79 characters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 2302
diff changeset
568 @param cov flag indicating collection of coverage data is requested
6892
c147620313c5 UnittestDialog: fixed an issue running tests for a project and removed the (obsolete) 'local' option.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 6645
diff changeset
569 @type bool
c147620313c5 UnittestDialog: fixed an issue running tests for a project and removed the (obsolete) 'local' option.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 6645
diff changeset
570 @param covname name of file to be used to assemble the coverage caches
c147620313c5 UnittestDialog: fixed an issue running tests for a project and removed the (obsolete) 'local' option.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 6645
diff changeset
571 filename
c147620313c5 UnittestDialog: fixed an issue running tests for a project and removed the (obsolete) 'local' option.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 6645
diff changeset
572 @type str
2988
f53c03574697 Continued to shorten the code lines to max. 79 characters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 2302
diff changeset
573 @param coverase flag indicating erasure of coverage data is requested
6892
c147620313c5 UnittestDialog: fixed an issue running tests for a project and removed the (obsolete) 'local' option.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 6645
diff changeset
574 @type bool
c147620313c5 UnittestDialog: fixed an issue running tests for a project and removed the (obsolete) 'local' option.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 6645
diff changeset
575 @param syspath list of directories to be added to sys.path on the
c147620313c5 UnittestDialog: fixed an issue running tests for a project and removed the (obsolete) 'local' option.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 6645
diff changeset
576 remote side
c147620313c5 UnittestDialog: fixed an issue running tests for a project and removed the (obsolete) 'local' option.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 6645
diff changeset
577 @type list of str
6894
df83ac87e0db UnittestDialog: added capability to auto-discover tests.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 6892
diff changeset
578 @param workdir path name of the working directory
df83ac87e0db UnittestDialog: added capability to auto-discover tests.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 6892
diff changeset
579 @type str
df83ac87e0db UnittestDialog: added capability to auto-discover tests.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 6892
diff changeset
580 @param discover flag indicating to discover the tests automatically
df83ac87e0db UnittestDialog: added capability to auto-discover tests.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 6892
diff changeset
581 @type bool
df83ac87e0db UnittestDialog: added capability to auto-discover tests.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 6892
diff changeset
582 @param discoveryStart directory to start auto-discovery at
df83ac87e0db UnittestDialog: added capability to auto-discover tests.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 6892
diff changeset
583 @type str
6901
f2c774c8db7e UnittestDialog: implemented the remote part fo 'discover only'.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 6894
diff changeset
584 @param testCases list of test cases to be loaded
f2c774c8db7e UnittestDialog: implemented the remote part fo 'discover only'.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 6894
diff changeset
585 @type list of str
6904
3f35037a08d4 Unit Test: added capability to run test with debugger support and to stop the test on the first error or failure.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 6901
diff changeset
586 @param debug flag indicating to run unittest with debugging
3f35037a08d4 Unit Test: added capability to run test with debugger support and to stop the test on the first error or failure.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 6901
diff changeset
587 @type bool
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
588 """
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
589 return
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
590
6904
3f35037a08d4 Unit Test: added capability to run test with debugger support and to stop the test on the first error or failure.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 6901
diff changeset
591 def remoteUTRun(self, debug, failfast):
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
592 """
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
593 Public method to start a unittest run.
6904
3f35037a08d4 Unit Test: added capability to run test with debugger support and to stop the test on the first error or failure.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 6901
diff changeset
594
3f35037a08d4 Unit Test: added capability to run test with debugger support and to stop the test on the first error or failure.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 6901
diff changeset
595 @param debug flag indicating to run unittest with debugging
3f35037a08d4 Unit Test: added capability to run test with debugger support and to stop the test on the first error or failure.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 6901
diff changeset
596 @type bool
3f35037a08d4 Unit Test: added capability to run test with debugger support and to stop the test on the first error or failure.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 6901
diff changeset
597 @param failfast flag indicating to stop at the first error
3f35037a08d4 Unit Test: added capability to run test with debugger support and to stop the test on the first error or failure.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 6901
diff changeset
598 @type bool
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
599 """
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
600 return
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
601
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
602 def remoteUTStop(self):
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
603 """
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
604 public method to stop a unittest run.
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
605 """
945
8cd4d08fa9f6 Made code mostly PEP 8 compliant (except all whitespace and line length).
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 791
diff changeset
606 return
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
607
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 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
610 """
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 Module function to create a debugger interface instance.
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
612
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
613
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
614 @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
615 @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
616 @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
617 @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
618 @return instantiated debugger interface
5850
7fae79975686 Unified the Python2 and Python3 debugger interfaces.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 5658
diff changeset
619 @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
620 """
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
621 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
622
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
623
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
624 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
625 """
5850
7fae79975686 Unified the Python2 and Python3 debugger interfaces.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 5658
diff changeset
626 Module function to get characterizing data for the debugger interface.
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
627
5850
7fae79975686 Unified the Python2 and Python3 debugger interfaces.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 5658
diff changeset
628 @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
629 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
630 function
7fae79975686 Unified the Python2 and Python3 debugger interfaces.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 5658
diff changeset
631 @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
632 """
5850
7fae79975686 Unified the Python2 and Python3 debugger interfaces.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 5658
diff changeset
633 return [("None", ClientDefaultCapabilities, ClientTypeAssociations,
7fae79975686 Unified the Python2 and Python3 debugger interfaces.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 5658
diff changeset
634 createDebuggerInterfaceNone)]

eric ide

mercurial