--- a/eric6/E5XML/SessionReader.py Mon Apr 12 19:05:23 2021 +0200 +++ b/eric6/E5XML/SessionReader.py Mon Apr 12 19:21:40 2021 +0200 @@ -271,7 +271,10 @@ self.project.dbgExcIgnoreList = dbgExcIgnoreList[:] if self.isStartElement(): - if self.name() == "VirtualEnv": + if self.name() in ("Exceptions", "IgnoredExceptions", + "CovexcPattern"): + pass # ignore these start tags + elif self.name() == "VirtualEnv": txt = self.readElementText() self.dbg.lastUsedVenvName = txt if not self.isGlobal: @@ -299,12 +302,8 @@ self.dbg.setExceptionReporting(exc) if not self.isGlobal: self.project.dbgReportExceptions = exc - elif self.name() == "Exceptions": - pass # ignore this start tag elif self.name() == "Exception": dbgExcList.append(self.readElementText()) - elif self.name() == "IgnoredExceptions": - pass # ignore this start tag elif self.name() == "IgnoredException": dbgExcIgnoreList.append(self.readElementText()) elif self.name() == "AutoClearShell": @@ -332,8 +331,6 @@ self.dbg.setMultiprocessNoDebugHistory(txt) if not self.isGlobal: self.project.dbgMultiprocessNoDebug = txt - elif self.name() == "CovexcPattern": - pass # ignore this start tag elif self.name() == "GlobalConfigOverride": configOverride = { "enable": self.toBool(self.attribute("enable")),