Issue the specified reset on the target
Optional
resetType: stringThe type of reset to be issued. If not provided, the default reset is issued.
Returns once the debugger is idle.
If the reset requires the target to be halted, use Target.halt or Target.waitForHalt.
Does not throw if the reset fails.
// Issue the System Reset (possible reset types vary by target)
session.target.reset("System Reset");
Issue a run command to the target, and wait until it has halted.
Optional
waitForHalt: booleanWhether the command should wait until the target halts. Defaults to true.
By default, this will wait until the target has halted after running. If waitForHalt is false this will return as soon as the target begins to run.
Will throw if the target is not halted.
// run to foo
session.breakpoints.add("foo");
session.target.run();
// run and return once the target is running
session.target.run(false);
Steps the target, stepping into function calls. Returns once the step operation is completed and the target is once again halted.
If symbol information is loaded for the location at which the target is currently halted, then a source step is performed. Otherwise, or if explicitly ordered to do so, an assembly step is performed.
Optional
explicitlyAsm: booleanIf true, an assembly step into operation will always be performed regardless of loaded symbols
Steps the target, stepping over function calls. Returns once the step operation is completed and the target is once again halted.
If symbol information is loaded for the location at which the target is currently halted, then a source step is performed. Otherwise, or if explicitly ordered to do so, an assembly step is performed.
Optional
explicitlyAsm: booleanIf true, an assembly step over operation will always be performed regardless of loaded symbols
Connect or reconnect the debugger to the target.