eric6/Sessions/SessionFile.py

changeset 8163
29fb6d420a25
parent 8064
756747ba088c
child 8164
c8b88e73b56f
equal deleted inserted replaced
8162:8358c3c95841 8163:29fb6d420a25
173 "IgnoredExceptions": dbg.excIgnoreList, 173 "IgnoredExceptions": dbg.excIgnoreList,
174 "AutoClearShell": dbg.autoClearShell, 174 "AutoClearShell": dbg.autoClearShell,
175 "TracePython": dbg.tracePython, 175 "TracePython": dbg.tracePython,
176 "AutoContinue": dbg.autoContinue, 176 "AutoContinue": dbg.autoContinue,
177 "EnableMultiprocess": dbg.enableMultiprocess, 177 "EnableMultiprocess": dbg.enableMultiprocess,
178 "MultiprocessNoDebug": dbgMultiprocessNoDebug 178 "MultiprocessNoDebug": dbgMultiprocessNoDebug,
179 "GlobalConfigOverride": dbg.overrideGlobalConfig,
179 } 180 }
180 else: 181 else:
181 sessionDict["DebugInfo"] = { 182 sessionDict["DebugInfo"] = {
182 "VirtualEnv": project.dbgVirtualEnv, 183 "VirtualEnv": project.dbgVirtualEnv,
183 "CommandLine": project.dbgCmdline, 184 "CommandLine": project.dbgCmdline,
189 "AutoClearShell": project.dbgAutoClearShell, 190 "AutoClearShell": project.dbgAutoClearShell,
190 "TracePython": project.dbgTracePython, 191 "TracePython": project.dbgTracePython,
191 "AutoContinue": project.dbgAutoContinue, 192 "AutoContinue": project.dbgAutoContinue,
192 "EnableMultiprocess": project.dbgEnableMultiprocess, 193 "EnableMultiprocess": project.dbgEnableMultiprocess,
193 "MultiprocessNoDebug": project.dbgMultiprocessNoDebug, 194 "MultiprocessNoDebug": project.dbgMultiprocessNoDebug,
195 "GlobalConfigOverride": project.dbgGlobalConfigOverride,
194 } 196 }
195 197
196 # step 6: bookmarks 198 # step 6: bookmarks
197 bookmarksList = [] 199 bookmarksList = []
198 for fileName in editorsDict: 200 for fileName in editorsDict:
323 dbg.setAutoClearShell(debugInfoDict["AutoClearShell"]) 325 dbg.setAutoClearShell(debugInfoDict["AutoClearShell"])
324 dbg.setTracePython(debugInfoDict["TracePython"]) 326 dbg.setTracePython(debugInfoDict["TracePython"])
325 dbg.setAutoContinue(debugInfoDict["AutoContinue"]) 327 dbg.setAutoContinue(debugInfoDict["AutoContinue"])
326 dbg.setEnableMultiprocess(debugInfoDict["EnableMultiprocess"]) 328 dbg.setEnableMultiprocess(debugInfoDict["EnableMultiprocess"])
327 dbg.setMultiprocessNoDebugHistory(debugInfoDict["MultiprocessNoDebug"]) 329 dbg.setMultiprocessNoDebugHistory(debugInfoDict["MultiprocessNoDebug"])
330 dbg.setEnableGlobalConfigOverride(
331 debugInfoDict["GlobalConfigOverride"])
328 if not self.__isGlobal: 332 if not self.__isGlobal:
329 project.setDbgInfo( 333 project.setDbgInfo(
330 debugInfoDict["VirtualEnv"], 334 debugInfoDict["VirtualEnv"],
331 debugInfoDict["CommandLine"], 335 debugInfoDict["CommandLine"],
332 debugInfoDict["WorkingDirectory"], 336 debugInfoDict["WorkingDirectory"],
336 debugInfoDict["IgnoredExceptions"], 340 debugInfoDict["IgnoredExceptions"],
337 debugInfoDict["AutoClearShell"], 341 debugInfoDict["AutoClearShell"],
338 debugInfoDict["TracePython"], 342 debugInfoDict["TracePython"],
339 debugInfoDict["AutoContinue"], 343 debugInfoDict["AutoContinue"],
340 debugInfoDict["EnableMultiprocess"], 344 debugInfoDict["EnableMultiprocess"],
341 debugInfoDict["MultiprocessNoDebug"] 345 debugInfoDict["MultiprocessNoDebug"],
346 debugInfoDict["GlobalConfigOverride"],
342 ) 347 )
343 348
344 # step 6: bookmarks 349 # step 6: bookmarks
345 for bookmark in sessionDict["Bookmarks"]: 350 for bookmark in sessionDict["Bookmarks"]:
346 editor = vm.getOpenEditor(bookmark["Filename"]) 351 editor = vm.getOpenEditor(bookmark["Filename"])

eric ide

mercurial