--- a/src/eric7/DebugClients/Python/eric7dbgstub.py Sat Dec 16 17:52:02 2023 +0100 +++ b/src/eric7/DebugClients/Python/eric7dbgstub.py Sun Dec 17 17:15:19 2023 +0100 @@ -26,10 +26,13 @@ Module function to initialize a debugger for remote debugging. @param kind type of debugger ("standard" or "threads") - @return flag indicating success (boolean) + @type str + @return flag indicating success + @rtype bool @exception ValueError raised to indicate a wrong debugger kind """ global debugger + res = True try: if kind == "standard": @@ -49,9 +52,12 @@ """ Module function mimicing the Pdb interface. - @param func function to be called (function object) + @param func function to be called + @type function @param *args arguments being passed to func + @type list of Any @return the function result + @rtype Any """ global debugger, __scriptname return debugger.run_call(__scriptname, func, *args) @@ -59,9 +65,10 @@ def setScriptname(name): """ - Module function to set the scriptname to be reported back to the IDE. + Module function to set the script name to be reported back to the IDE. - @param name absolute pathname of the script (string) + @param name absolute path name of the script + @type str """ global __scriptname __scriptname = name @@ -71,13 +78,14 @@ """ Module function used to start the remote debugger. - @param enableTrace flag to enable the tracing function (boolean) + @param enableTrace flag to enable the tracing function + @type bool @param exceptions flag to enable exception reporting of the IDE - (boolean) + @type bool @param tracePython flag to enable tracing into the Python library - (boolean) - @param redirect flag indicating redirection of stdin, stdout and - stderr (boolean) + @type bool + @param redirect flag indicating redirection of stdin, stdout and stderr + @type bool """ global debugger if debugger: