15 |
15 |
16 class SessionReader(XMLStreamReaderBase): |
16 class SessionReader(XMLStreamReaderBase): |
17 """ |
17 """ |
18 Class for reading an XML session file. |
18 Class for reading an XML session file. |
19 """ |
19 """ |
20 supportedVersions = ["4.3", "4.4", "5.0", "6.0", "6.1", "6.2"] |
20 supportedVersions = ["4.3", "4.4", "5.0", "6.0", "6.1", "6.2", "6.3"] |
21 |
21 |
22 def __init__(self, device, isGlobal): |
22 def __init__(self, device, isGlobal): |
23 """ |
23 """ |
24 Constructor |
24 Constructor |
25 |
25 |
319 elif self.name() == "AutoContinue": |
319 elif self.name() == "AutoContinue": |
320 val = self.toBool(self.attribute("value")) |
320 val = self.toBool(self.attribute("value")) |
321 self.dbg.setAutoContinue(val) |
321 self.dbg.setAutoContinue(val) |
322 if not self.isGlobal: |
322 if not self.isGlobal: |
323 self.project.dbgAutoContinue = val |
323 self.project.dbgAutoContinue = val |
|
324 elif self.name() == "EnableMultiprocess": |
|
325 val = self.toBool(self.attribute("value")) |
|
326 self.dbg.setEnableMultiprocess(val) |
|
327 if not self.isGlobal: |
|
328 self.project.dbgEnableMultiprocess = val |
|
329 elif self.name() == "MultiprocessNoDebug": |
|
330 txt = self.readElementText() |
|
331 self.dbg.setMultiprocessNoDebugHistory(txt) |
|
332 if not self.isGlobal: |
|
333 self.project.dbgMultiprocessNoDebug = txt |
324 elif self.name() == "CovexcPattern": |
334 elif self.name() == "CovexcPattern": |
325 pass # ignore this start tag |
335 pass # ignore this start tag |
326 else: |
336 else: |
327 self.raiseUnexpectedStartTag(self.name()) |
337 self.raiseUnexpectedStartTag(self.name()) |
328 |
338 |