A list of the targets to step.
The targets should be specified by their full names. The full names of targets can be obtained from DebugSession.getName or {@DebuggerScripting.listCores}.
Will throw if any target specified:
const session1 = ds.openSession("Cortex_R5_0_0");
const session2 = ds.openSession("Cortex_R5_0_1");
// In this case, the full names of each core is longer than what we provided to openSession
const targets = [session1.getName(), session2.getName()];
// Assume we have connected, loaded a program, etc. on both cores.
// Step both targets simultaneously
ds.simultaneous.asmStepInto(targets);
Simultaneously halt all targets specified.
A list of the targets to halt.
The targets should be specified by their full names. The full names of targets can be obtained from DebugSession.getName or {@DebuggerScripting.listCores}.
Will throw if any target specified:
const session1 = ds.openSession("Cortex_R5_0_0");
const session2 = ds.openSession("Cortex_R5_0_1");
// In this case, the full names of each core is longer than what we provided to openSession
const targets = [session1.getName(), session2.getName()];
// Assume we have connected, loaded a program, issued a run, etc. on both cores.
// Halt both targets simultaneously
ds.simultaneous.halt(targets);
Simultaneously run all targets specified.
A list of the targets to run.
Optional
waitForHalt: booleanWhether the operation should wait for all targets to halt after running. Defaults to true.
The targets should be specified by their full names. The full names of targets can be obtained from DebugSession.getName or {@DebuggerScripting.listCores}.
Will throw if any target specified:
const session1 = ds.openSession("Cortex_R5_0_0");
const session2 = ds.openSession("Cortex_R5_0_1");
// In this case, the full names of each core is longer than what we provided to openSession
const targets = [session1.getName(), session2.getName()];
// Assume we have connected, loaded a program, etc. on both cores.
// Run both targets simultaneously and wait for both to halt
ds.simultaneous.run(targets);
// Run both targets simultaneously return immediately once both are running
ds.simultaneous.run(targets, false);
Simultaneously perform an assembly step-into operation on all targets specified.