162 "VirtualEnv": dbg.lastUsedVenvName, |
162 "VirtualEnv": dbg.lastUsedVenvName, |
163 "ScriptName": dbgScriptName, |
163 "ScriptName": dbgScriptName, |
164 "CommandLine": dbgCmdline, |
164 "CommandLine": dbgCmdline, |
165 "WorkingDirectory": dbgWd, |
165 "WorkingDirectory": dbgWd, |
166 "Environment": dbgEnv, |
166 "Environment": dbgEnv, |
167 "ReportExceptions": dbg.exceptions, |
|
168 "Exceptions": dbg.excList, |
167 "Exceptions": dbg.excList, |
169 "IgnoredExceptions": dbg.excIgnoreList, |
168 "IgnoredExceptions": dbg.excIgnoreList, |
170 "AutoClearShell": dbg.autoClearShell, |
169 "AutoClearShell": dbg.autoClearShell, |
171 "TracePython": dbg.tracePython, |
170 "TracePython": dbg.tracePython, |
172 "AutoContinue": dbg.autoContinue, |
171 "AutoContinue": dbg.autoContinue, |
|
172 "ReportAllExceptions": dbg.reportAllExceptions, |
173 "EnableMultiprocess": dbg.enableMultiprocess, |
173 "EnableMultiprocess": dbg.enableMultiprocess, |
174 "MultiprocessNoDebug": dbgMultiprocessNoDebug, |
174 "MultiprocessNoDebug": dbgMultiprocessNoDebug, |
175 "GlobalConfigOverride": dbg.overrideGlobalConfig, |
175 "GlobalConfigOverride": dbg.overrideGlobalConfig, |
176 } |
176 } |
177 else: |
177 else: |
179 "VirtualEnv": project.dbgVirtualEnv, |
179 "VirtualEnv": project.dbgVirtualEnv, |
180 "ScriptName": "", |
180 "ScriptName": "", |
181 "CommandLine": project.dbgCmdline, |
181 "CommandLine": project.dbgCmdline, |
182 "WorkingDirectory": project.dbgWd, |
182 "WorkingDirectory": project.dbgWd, |
183 "Environment": project.dbgEnv, |
183 "Environment": project.dbgEnv, |
184 "ReportExceptions": project.dbgReportExceptions, |
|
185 "Exceptions": project.dbgExcList, |
184 "Exceptions": project.dbgExcList, |
186 "IgnoredExceptions": project.dbgExcIgnoreList, |
185 "IgnoredExceptions": project.dbgExcIgnoreList, |
187 "AutoClearShell": project.dbgAutoClearShell, |
186 "AutoClearShell": project.dbgAutoClearShell, |
188 "TracePython": project.dbgTracePython, |
187 "TracePython": project.dbgTracePython, |
189 "AutoContinue": project.dbgAutoContinue, |
188 "AutoContinue": project.dbgAutoContinue, |
|
189 "ReportAllExceptions": project.dbgReportAllExceptions, |
190 "EnableMultiprocess": project.dbgEnableMultiprocess, |
190 "EnableMultiprocess": project.dbgEnableMultiprocess, |
191 "MultiprocessNoDebug": project.dbgMultiprocessNoDebug, |
191 "MultiprocessNoDebug": project.dbgMultiprocessNoDebug, |
192 "GlobalConfigOverride": project.dbgGlobalConfigOverride, |
192 "GlobalConfigOverride": project.dbgGlobalConfigOverride, |
193 } |
193 } |
194 |
194 |
334 with contextlib.suppress(KeyError): |
334 with contextlib.suppress(KeyError): |
335 dbg.setScriptsHistory(debugInfoDict["ScriptName"]) |
335 dbg.setScriptsHistory(debugInfoDict["ScriptName"]) |
336 dbg.setArgvHistory(debugInfoDict["CommandLine"]) |
336 dbg.setArgvHistory(debugInfoDict["CommandLine"]) |
337 dbg.setWdHistory(debugInfoDict["WorkingDirectory"]) |
337 dbg.setWdHistory(debugInfoDict["WorkingDirectory"]) |
338 dbg.setEnvHistory(debugInfoDict["Environment"]) |
338 dbg.setEnvHistory(debugInfoDict["Environment"]) |
339 dbg.setExceptionReporting(debugInfoDict["ReportExceptions"]) |
|
340 dbg.setExcList(debugInfoDict["Exceptions"]) |
339 dbg.setExcList(debugInfoDict["Exceptions"]) |
341 dbg.setExcIgnoreList(debugInfoDict["IgnoredExceptions"]) |
340 dbg.setExcIgnoreList(debugInfoDict["IgnoredExceptions"]) |
342 dbg.setAutoClearShell(debugInfoDict["AutoClearShell"]) |
341 dbg.setAutoClearShell(debugInfoDict["AutoClearShell"]) |
343 dbg.setTracePython(debugInfoDict["TracePython"]) |
342 dbg.setTracePython(debugInfoDict["TracePython"]) |
344 dbg.setAutoContinue(debugInfoDict["AutoContinue"]) |
343 dbg.setAutoContinue(debugInfoDict["AutoContinue"]) |
|
344 dbg.setExceptionReporting(debugInfoDict["ReportAllExceptions"]) |
345 dbg.setEnableMultiprocess(debugInfoDict["EnableMultiprocess"]) |
345 dbg.setEnableMultiprocess(debugInfoDict["EnableMultiprocess"]) |
346 dbg.setMultiprocessNoDebugHistory(debugInfoDict["MultiprocessNoDebug"]) |
346 dbg.setMultiprocessNoDebugHistory(debugInfoDict["MultiprocessNoDebug"]) |
347 dbg.setEnableGlobalConfigOverride(debugInfoDict["GlobalConfigOverride"]) |
347 dbg.setEnableGlobalConfigOverride(debugInfoDict["GlobalConfigOverride"]) |
348 if not self.__isGlobal: |
348 if not self.__isGlobal: |
349 project.setDbgInfo( |
349 project.setDbgInfo( |
350 debugInfoDict["VirtualEnv"], |
350 debugInfoDict["VirtualEnv"], |
351 debugInfoDict["CommandLine"], |
351 debugInfoDict["CommandLine"], |
352 debugInfoDict["WorkingDirectory"], |
352 debugInfoDict["WorkingDirectory"], |
353 debugInfoDict["Environment"], |
353 debugInfoDict["Environment"], |
354 debugInfoDict["ReportExceptions"], |
354 debugInfoDict["ReportExceptions"], |
355 debugInfoDict["Exceptions"], |
|
356 debugInfoDict["IgnoredExceptions"], |
355 debugInfoDict["IgnoredExceptions"], |
357 debugInfoDict["AutoClearShell"], |
356 debugInfoDict["AutoClearShell"], |
358 debugInfoDict["TracePython"], |
357 debugInfoDict["TracePython"], |
359 debugInfoDict["AutoContinue"], |
358 debugInfoDict["AutoContinue"], |
|
359 debugInfoDict["ReportAllExceptions"], |
360 debugInfoDict["EnableMultiprocess"], |
360 debugInfoDict["EnableMultiprocess"], |
361 debugInfoDict["MultiprocessNoDebug"], |
361 debugInfoDict["MultiprocessNoDebug"], |
362 debugInfoDict["GlobalConfigOverride"], |
362 debugInfoDict["GlobalConfigOverride"], |
363 ) |
363 ) |
364 |
364 |