I want to set a breakpoint by using dss API, so I add a line of code in the javascript program like below:
debugSession.breakpoint.add("hello.c",20);
This approach is effective when i start up ccs in the script. but if i don't launch it, the javascript program execution will terminate at the
"debugSession.breakpoint.add("hello.c",20)" line.
Could you please help me know the reason and how to use the API(int add(java.lang.String sFile, int nLine)) in condition of not launching ccs.
Thanks.