diff -r 1b59c4ba121e -r 8cd4d08fa9f6 DebugClients/Python/eric5dbgstub.py --- a/DebugClients/Python/eric5dbgstub.py Fri Mar 11 08:55:14 2011 +0100 +++ b/DebugClients/Python/eric5dbgstub.py Fri Mar 11 16:51:57 2011 +0100 @@ -22,7 +22,8 @@ if not ericpath in sys.path: sys.path.insert(-1, ericpath) -def initDebugger(kind = "standard"): + +def initDebugger(kind="standard"): """ Module function to initialize a debugger for remote debugging. @@ -46,6 +47,7 @@ return res + def runcall(func, *args): """ Module function mimicing the Pdb interface. @@ -57,6 +59,7 @@ global debugger, __scriptname return debugger.run_call(__scriptname, func, *args) + def setScriptname(name): """ Module function to set the scriptname to be reported back to the IDE. @@ -66,8 +69,9 @@ global __scriptname __scriptname = name -def startDebugger(enableTrace = True, exceptions = True, - tracePython = False, redirect = True): + +def startDebugger(enableTrace=True, exceptions=True, + tracePython=False, redirect=True): """ Module function used to start the remote debugger. @@ -78,8 +82,8 @@ """ global debugger if debugger: - debugger.startDebugger(enableTrace = enableTrace, exceptions = exceptions, - tracePython = tracePython, redirect = redirect) + debugger.startDebugger(enableTrace=enableTrace, exceptions=exceptions, + tracePython=tracePython, redirect=redirect) # # eflag: FileType = Python2