<exception>.bp-break-exception <exception>.bp-trace-exception
Simics Reference Manual  /  3 Commands  /  3.2 Command List  / 

<exception>.bp-run-until-exception

Synopsis

<exception>.bp-run-until-exception ("name"|number|-all) [-recursive] [timeout] [timeout-rt]

Description

Run the simulation until the specified exception occurs.

The name or number parameter specify which exception should stop the simulation. The available exceptions depend on the simulated target. Instead of an exception, the -all flag may be given. This will stop the simulation on all exceptions.

If no processor object is specified, the currently selected processor is used.

If -recursive is used, not only the object, but the objects hierarchically below the object will be considered when adding the breakpoint. If timeout is a positive number, the command will run for at most that many seconds of virtual time.

If timeout-rt is a positive number, the command will run for at most that many seconds of real time.

A time-out will be signaled by throwing a CLI exception, which can be captured using try/except in order to take specific action, or to let it pass unhandled.

Provided By

bp-manager
<exception>.bp-break-exception <exception>.bp-trace-exception