Debugger/DebuggerInterfaceNone.py

changeset 4553
a6b2acd1a355
parent 4021
195a471c327b
child 4631
5c1a96925da4
equal deleted inserted replaced
4552:b1ea4ea0190e 4553:a6b2acd1a355
13 13
14 14
15 ClientDefaultCapabilities = 0 15 ClientDefaultCapabilities = 0
16 16
17 ClientTypeAssociations = [] 17 ClientTypeAssociations = []
18
19
20 def getRegistryData():
21 """
22 Module functionto get characterising data for the debugger interface.
23
24 @return list of the following data. Client type (string), client
25 capabilities (integer), client type association (list of strings)
26 """
27 return ["None", ClientDefaultCapabilities, ClientTypeAssociations]
28 18
29 19
30 class DebuggerInterfaceNone(QObject): 20 class DebuggerInterfaceNone(QObject):
31 """ 21 """
32 Class implementing a dummy debugger interface for the debug server. 22 Class implementing a dummy debugger interface for the debug server.
411 def remoteUTStop(self): 401 def remoteUTStop(self):
412 """ 402 """
413 public method to stop a unittest run. 403 public method to stop a unittest run.
414 """ 404 """
415 return 405 return
406
407
408 def createDebuggerInterfaceNone(debugServer, passive):
409 """
410 Module function to create a debugger interface instance.
411
412
413 @param debugServer reference to the debug server
414 @type DebugServer
415 @param passive flag indicating passive connection mode
416 @type bool
417 @return instantiated debugger interface
418 @rtype DebuggerInterfacePython
419 """
420 return DebuggerInterfaceNone(debugServer, passive)
421
422
423 def getRegistryData():
424 """
425 Module functionto get characterizing data for the debugger interface.
426
427 @return tuple containing client type, client capabilities, client file
428 type associations and reference to creation function
429 @rtype tuple of (str, int, list of str, function)
430 """
431 return ["None", ClientDefaultCapabilities, ClientTypeAssociations,
432 createDebuggerInterfaceNone]

eric ide

mercurial