I am setting several S\W & H\W breakpoints on an MSP430G2755. The program and thus breakpoints are all located in FLASH. Of course, I can only enable on H\W breakpoint at a time when using S\W breakpoint support. That is all find and dandy.
However, I have found that at one particular spot in my code, the breakpoint will NOT set as a S\W breakpoint. I have deleted and re-added it a dozen times, no luck.
It is a simple if statement:
if(...) {...}
else if(...)
{
2 code lines here and I am able to set a S\W BP
}
else if(pActiveAlarm->AlarmID == pAlarmNew->AlarmID)
{
pAlarmNew = NULL; // Unable to set a S\W BP at this line
}
Any ideas?
Regards,
Jim