To set a breakpoint on a specific core it's important to understand that each core needs its instance of the Connection Manager and Breakpoint Controller.
To set a breakpoint on a specific core with a Python script, you have to:
1. Create a Connection Manager ConnectionMgr() instance for the secondary core, which you can achieve with launchCore1() called on the Connection Manager for the primary core.
2. Create CBreakpointController() instance with the secondary core Connection Manager.
3. Call setBP() with the created CBreakpointController().
Example:
import isystem.connect as ic cfg = ic.CConnectionConfig() connMgr = ic.ConnectionMgr() connMgr.connect(cfg) # this instance is connected to primary core bpCtrl = ic.CBreakpointController(connMgr) bpCtrl.setBP(10, "main0.c") # set bp in primary core connMgr1 = connMgr.launchCore1(1) # this instance is connected to Core1 bpCtrl1 = ic.CBreakpointController(connMgr1) bpCtrl1.setBP(11, "main1.c") # set bp in Core1