debugger = Debugger()\r
\r
# Initialisation commands\r
-ec = debugger.getExecutionContext(0)\r
+ec = debugger.getCurrentExecutionContext()\r
ec.getExecutionService().stop()\r
-ec.getExecutionService().waitForStop()\r
# in case the execution context reference is out of date\r
-ec = debugger.getExecutionContext(0)\r
+ec = debugger.getCurrentExecutionContext()\r
\r
try:\r
armplatform_debugger = edk2_debugger.ArmPlatformDebugger(ec, report_file, regions, verbose)\r