import isystem.connect as ic
winidea_id = ''
def test_remove_bps():
conn_mgr = ic.ConnectionMgr()
conn_mgr.connect(ic.CConnectionConfig().instanceId(winidea_id))
bp_ctrl = ic.CBreakpointController(conn_mgr)
bp_ctrl.set_BP_symbol("main")
bp_handle_1 = bp_ctrl.set_BP_symbol("target_init")
bp_handle_2 = bp_ctrl.set_BP_symbol("init_globals")
bps_to_remove = ic.VBPInstances()
bps_to_remove.append(bp_handle_1)
bps_to_remove.append(bp_handle_2)
bp_ctrl.remove_BPs(bps_to_remove)
print(f"Breakpoints at functions 'target_init' and 'init_globals' removed.")
if __name__ == "__main__":
test_remove_bps()