winIDEA SDK
Loading...
Searching...
No Matches
test_remove_bp.py
# This script is licensed under BSD License, see file LICENSE.txt, or search for `License` in the SDK online help.
#
# (c) TASKING Germany GmbH, 2023
import isystem.connect as ic
winidea_id = ''
def test_remove_bp():
conn_mgr = ic.ConnectionMgr()
conn_mgr.connect(ic.CConnectionConfig().instanceId(winidea_id))
bp_ctrl = ic.CBreakpointController(conn_mgr)
bp_handle = bp_ctrl.set_BP_symbol("main")
bp_ctrl.remove_BP(bp_handle)
print(f"Breakpoint at function 'main' removed.")
if __name__ == "__main__":
test_remove_bp()