Function simics::api::simulator::control::_break_simulation

source ·
fn _break_simulation<S>(msg: S) -> Result<()>
where S: AsRef<str>,
Expand description

Stop the simulation with a message

Ask Simics to stop the simulation as soon as possible, displaying the supplied message.

Simics will normally stop before the next instruction is executed. If this function is called when an instruction has started executing, and the instruction can be aborted, it will rewind to before the instruction. This might leave the simulation in a state where some repeatable part of the instruction is already executed.

§Context

Cell Context