Hi,
I just creating a project using S32DS version2.1, using SDK3.0.0, board: DEVKIT MPC5744P. And my program is easy. Show below:
main()
{
uint32_t counter= 0;
initBoard();//do some clock and GPIO initialize
for(;;){
counter++;
if(counter>100000)
{
counter = 0;
PINS_DRV_TogglePins(PTC, 1<<13);
}
}
}
My question is when i set a breakpoint at count = 0 and debug it , the program won't stop at breakpoint at all, even i can see the LED is flashing. Dose anyone have same problem? Thanks!
Solved! Go to Solution.
Hi,
Do you have optimization level set to none?
Jiri
Hi, Jiri
Thanks for your help, the method you provided is right, I use level 1 optimization. Change to none works!!
thanks again!!