This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello All,
I am working on a Breakpoint automation project for one of the application code.
I understand that DSS supports setting breakpoint using function name , line number and address. But I have the below requirement.
Suppose I have a function :
int fun ()
{
int a = 10;
b = 10 ;
a = a+b;
if ( b == a)
{
a = 100;
}
else
a = 30;
}
If at all I need to set a breakpoint at "if (b==a) " , then is there any other method do this.
I am aware that I can add .asm tags in between , but when I add .asm tags , there should not be any change in Checksum . And I am working on TMSlS20216 processor.
Thanks
Rohini
You can add a label above the source line:
label:
if ( b == a)
then set a breakpoint on the label:
debugSession.breakpoint.add("label")
Thanks
ki