Other Parts Discussed in Thread: MSP430F5529
Hi Experts,
Good day! I am posting this on behalf of the customer.
I'm currently working on a DSS script using js. I opened the ti API documentation for DSS and I learned how to add a breakpoint within my script as an example "var bp = debugSession.breakpoint.add("file_name", line);". The issue is I can't find any API to make me check if the breakpoint I added is hit or not. So, Is there any kind of way to check whether any of my created breakpoints are hit or not? thanks in advance
try {
var erase_bp1 = debugSession.breakpoint.add("Fls.c",231);
scriptEnv.traceWrite("erase_bp1 succeeded...!!!");
debugSession.target.run();
scriptEnv.traceWrite("Target halted at DevError = FLS_E_UNINIT");
} catch (ex) {
scriptEnv.traceWrite("erase_bp1 failed: " + ex);
}
var erase_bp1 = debugSession.breakpoint.add("Fls.c",231);
scriptEnv.traceWrite("erase_bp1 succeeded...!!!");
debugSession.target.run();
scriptEnv.traceWrite("Target halted at DevError = FLS_E_UNINIT");
} catch (ex) {
scriptEnv.traceWrite("erase_bp1 failed: " + ex);
}
this is a part of my code snippet
\to add a break point
however, I need to check whether this bp is hit or not
but I can't find any API to help me through
Best regards,
Jonathan