5.12.3 Testing whether a model has reached debuggable state

Follow these steps to inspect a model that supports debuggable state:

Procedure

  1. Call debuggableState_setRequest(request = true) on all instances to be inspected and that support the debuggableState_setRequest() function.
  2. Call simulationTime_runUntilDebuggableState().
  3. Wait until an IRIS_SIMULATION_TIME_EVENT occurs.
  4. Inspect the REACHED_DEBUGGABLE_STATE bit of the REASON field of the IRIS_SIMULATION_TIME_EVENT to find out whether a debuggable state was reached. If not, ignore or re-iterate depending on the desired behavior.
  5. Call debuggableState_setRequest(request = false) on all instances for which the request was previously set to true.
  6. Inspect and manipulate the state.
Non-ConfidentialPDF file icon PDF version101196_0100_03_en
Copyright © 2018, 2019 Arm Limited or its affiliates. All rights reserved.