98 self.ui.tracePythonCheckBox.show() |
98 self.ui.tracePythonCheckBox.show() |
99 self.ui.autoContinueCheckBox.setChecked(autoContinue) |
99 self.ui.autoContinueCheckBox.setChecked(autoContinue) |
100 self.ui.forkModeCheckBox.setChecked(autoFork) |
100 self.ui.forkModeCheckBox.setChecked(autoFork) |
101 self.ui.forkChildCheckBox.setChecked(forkChild) |
101 self.ui.forkChildCheckBox.setChecked(forkChild) |
102 |
102 |
103 if type == 3: # start coverage or profile dialog |
103 if type == 1: # start run dialog |
|
104 self.ui.forkModeCheckBox.setChecked(autoFork) |
|
105 self.ui.forkChildCheckBox.setChecked(forkChild) |
|
106 |
|
107 if type == 3: # start coverage or profile dialog |
104 self.ui.eraseCheckBox.setChecked(True) |
108 self.ui.eraseCheckBox.setChecked(True) |
105 |
109 |
106 self.__clearHistoryLists = False |
110 self.__clearHistoryLists = False |
107 |
111 |
108 @pyqtSlot() |
112 @pyqtSlot() |
161 return (self.ui.tracePythonCheckBox.isChecked(), |
165 return (self.ui.tracePythonCheckBox.isChecked(), |
162 self.ui.autoContinueCheckBox.isChecked(), |
166 self.ui.autoContinueCheckBox.isChecked(), |
163 self.ui.forkModeCheckBox.isChecked(), |
167 self.ui.forkModeCheckBox.isChecked(), |
164 self.ui.forkChildCheckBox.isChecked()) |
168 self.ui.forkChildCheckBox.isChecked()) |
165 |
169 |
|
170 def getRunData(self): |
|
171 """ |
|
172 Public method to retrieve the debug related data entered into this dialog. |
|
173 |
|
174 @return a tuple of a flag indicating, that the debugger should fork automatically |
|
175 (boolean) and a flag indicating, that the debugger should debug the child |
|
176 process after forking automatically (boolean) |
|
177 """ |
|
178 if self.type == 1: |
|
179 return (self.ui.forkModeCheckBox.isChecked(), |
|
180 self.ui.forkChildCheckBox.isChecked()) |
|
181 |
166 def getCoverageData(self): |
182 def getCoverageData(self): |
167 """ |
183 """ |
168 Public method to retrieve the coverage related data entered into this dialog. |
184 Public method to retrieve the coverage related data entered into this dialog. |
169 |
185 |
170 @return flag indicating erasure of coverage info (boolean) |
186 @return flag indicating erasure of coverage info (boolean) |