177 dbgWd = "" |
177 dbgWd = "" |
178 if len(self.dbg.envHistory): |
178 if len(self.dbg.envHistory): |
179 dbgEnv = self.dbg.envHistory[0] |
179 dbgEnv = self.dbg.envHistory[0] |
180 else: |
180 else: |
181 dbgEnv = "" |
181 dbgEnv = "" |
|
182 if len(self.dbg.multiprocessNoDebugHistory): |
|
183 dbgMultiprocessNoDebug = self.dbg.multiprocessNoDebugHistory[0] |
|
184 else: |
|
185 dbgMultiprocessNoDebug = "" |
|
186 |
182 self.writeTextElement("VirtualEnv", self.dbg.lastUsedVenvName) |
187 self.writeTextElement("VirtualEnv", self.dbg.lastUsedVenvName) |
183 self.writeTextElement("CommandLine", dbgCmdline) |
188 self.writeTextElement("CommandLine", dbgCmdline) |
184 self.writeTextElement("WorkingDirectory", dbgWd) |
189 self.writeTextElement("WorkingDirectory", dbgWd) |
185 self.writeTextElement("Environment", dbgEnv) |
190 self.writeTextElement("Environment", dbgEnv) |
186 self.writeEmptyElement("ReportExceptions") |
191 self.writeEmptyElement("ReportExceptions") |
197 self.writeAttribute("value", str(self.dbg.autoClearShell)) |
202 self.writeAttribute("value", str(self.dbg.autoClearShell)) |
198 self.writeEmptyElement("TracePython") |
203 self.writeEmptyElement("TracePython") |
199 self.writeAttribute("value", str(self.dbg.tracePython)) |
204 self.writeAttribute("value", str(self.dbg.tracePython)) |
200 self.writeEmptyElement("AutoContinue") |
205 self.writeEmptyElement("AutoContinue") |
201 self.writeAttribute("value", str(self.dbg.autoContinue)) |
206 self.writeAttribute("value", str(self.dbg.autoContinue)) |
|
207 self.writeEmptyElement("EnableMultiprocess") |
|
208 self.writeAttribute("value", str(self.dbg.enableMultiprocess)) |
|
209 self.writeTextElement("MultiprocessNoDebug", |
|
210 dbgMultiprocessNoDebug) |
202 self.writeEmptyElement("CovexcPattern") # kept for compatibility |
211 self.writeEmptyElement("CovexcPattern") # kept for compatibility |
203 else: |
212 else: |
204 self.writeTextElement("VirtualEnv", self.project.dbgVirtualEnv) |
213 self.writeTextElement("VirtualEnv", self.project.dbgVirtualEnv) |
205 self.writeTextElement("CommandLine", self.project.dbgCmdline) |
214 self.writeTextElement("CommandLine", self.project.dbgCmdline) |
206 self.writeTextElement("WorkingDirectory", self.project.dbgWd) |
215 self.writeTextElement("WorkingDirectory", self.project.dbgWd) |
219 self.writeAttribute("value", str(self.project.dbgAutoClearShell)) |
228 self.writeAttribute("value", str(self.project.dbgAutoClearShell)) |
220 self.writeEmptyElement("TracePython") |
229 self.writeEmptyElement("TracePython") |
221 self.writeAttribute("value", str(self.project.dbgTracePython)) |
230 self.writeAttribute("value", str(self.project.dbgTracePython)) |
222 self.writeEmptyElement("AutoContinue") |
231 self.writeEmptyElement("AutoContinue") |
223 self.writeAttribute("value", str(self.project.dbgAutoContinue)) |
232 self.writeAttribute("value", str(self.project.dbgAutoContinue)) |
|
233 self.writeEmptyElement("EnableMultiprocess") |
|
234 self.writeAttribute("value", |
|
235 str(self.project.dbgEnableMultiprocess)) |
|
236 self.writeTextElement("MultiprocessNoDebug", |
|
237 self.project.dbgMultiprocessNoDebug) |
224 self.writeEmptyElement("CovexcPattern") # kept for compatibility |
238 self.writeEmptyElement("CovexcPattern") # kept for compatibility |
225 self.writeEndElement() |
239 self.writeEndElement() |
226 |
240 |
227 # step 4: save bookmarks of all open (project) files |
241 # step 4: save bookmarks of all open (project) files |
228 self.writeStartElement("Bookmarks") |
242 self.writeStartElement("Bookmarks") |