🎉 We're happy to announce a new public release ðŸŽ‰

  • Pin Mapper for AURIX v1.1r5 - A graphical tool for defining AURIX device port mapping and generation of device initialization code
Contact us to get access

winIDEA SDK: Set a breakpoint on a specific core

09-Sep-2025

To set a breakpoint on a specific core, it's important to understand that each core needs its own instance of the Connection Manager and Breakpoint Controller.


Possible solution

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


More resources in winIDEA SDK User's Guide

Was this answer helpful?