diff -r 9986ec0e559a -r 10516539f238 Debugger/StartDialog.py --- a/Debugger/StartDialog.py Tue Oct 15 22:03:54 2013 +0200 +++ b/Debugger/StartDialog.py Fri Oct 18 23:00:41 2013 +0200 @@ -28,9 +28,10 @@ the commandline parameters, the working directory and whether exception reporting should be disabled. """ - def __init__(self, caption, argvList, wdList, envList, exceptions, parent=None, - type=0, modfuncList=None, tracePython=False, autoClearShell=True, - autoContinue=True, autoFork=False, forkChild=False): + def __init__(self, caption, argvList, wdList, envList, exceptions, + parent=None, type=0, modfuncList=None, tracePython=False, + autoClearShell=True, autoContinue=True, autoFork=False, + forkChild=False): """ Constructor @@ -47,15 +48,17 @@ <li>2 = start coverage dialog</li> <li>3 = start profile dialog</li> </ul> - @keyparam modfuncList history list of module functions (list of strings) + @keyparam modfuncList history list of module functions + (list of strings) @keyparam tracePython flag indicating if the Python library should be traced as well (boolean) - @keyparam autoClearShell flag indicating, that the interpreter window should - be cleared automatically (boolean) - @keyparam autoContinue flag indicating, that the debugger should not stop at - the first executable line (boolean) + @keyparam autoClearShell flag indicating, that the interpreter window + should be cleared automatically (boolean) + @keyparam autoContinue flag indicating, that the debugger should not + stop at the first executable line (boolean) @keyparam autoFork flag indicating the automatic fork mode (boolean) - @keyparam forkChild flag indicating to debug the child after forking (boolean) + @keyparam forkChild flag indicating to debug the child after forking + (boolean) """ super(StartDialog, self).__init__(parent) self.setModal(True) @@ -139,9 +142,10 @@ """ Public method to retrieve the data entered into this dialog. - @return a tuple of argv (string), workdir (string), environment (string), - exceptions flag (boolean), clear interpreter flag (boolean), - clear histories flag (boolean) and run in console flag (boolean) + @return a tuple of argv (string), workdir (string), environment + (string), exceptions flag (boolean), clear interpreter flag + (boolean), clear histories flag (boolean) and run in console + flag (boolean) """ cmdLine = self.ui.cmdlineCombo.currentText() workdir = self.ui.workdirCombo.currentText() @@ -157,13 +161,15 @@ def getDebugData(self): """ - Public method to retrieve the debug related data entered into this dialog. + Public method to retrieve the debug related data entered into this + dialog. - @return a tuple of a flag indicating, if the Python library should be traced - as well, a flag indicating, that the debugger should not stop at the - first executable line (boolean), a flag indicating, that the debugger - should fork automatically (boolean) and a flag indicating, that the - debugger should debug the child process after forking automatically (boolean) + @return a tuple of a flag indicating, if the Python library should be + traced as well, a flag indicating, that the debugger should not + stop at the first executable line (boolean), a flag indicating, + that the debugger should fork automatically (boolean) and a flag + indicating, that the debugger should debug the child process after + forking automatically (boolean) """ if self.type == 0: return (self.ui.tracePythonCheckBox.isChecked(), @@ -173,11 +179,13 @@ def getRunData(self): """ - Public method to retrieve the debug related data entered into this dialog. + Public method to retrieve the debug related data entered into this + dialog. - @return a tuple of a flag indicating, that the debugger should fork automatically - (boolean) and a flag indicating, that the debugger should debug the child - process after forking automatically (boolean) + @return a tuple of a flag indicating, that the debugger should fork + automatically (boolean) and a flag indicating, that the debugger + should debug the child process after forking automatically + (boolean) """ if self.type == 1: return (self.ui.forkModeCheckBox.isChecked(), @@ -185,7 +193,8 @@ def getCoverageData(self): """ - Public method to retrieve the coverage related data entered into this dialog. + Public method to retrieve the coverage related data entered into this + dialog. @return flag indicating erasure of coverage info (boolean) """ @@ -194,7 +203,8 @@ def getProfilingData(self): """ - Public method to retrieve the profiling related data entered into this dialog. + Public method to retrieve the profiling related data entered into this + dialog. @return flag indicating erasure of profiling info (boolean) """