🎉 We're happy to announce new public releases 🎉

  • SmartCode v10.4r1 - Take advantage of all the benefits our tools have to offer and build your applications with the latest version
  • TriCore v6.3r1 Inspector v1.0r8 - Save time and detect known issues before they get into your application
Contact us to get access

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?