Skip to main content
kadir ustun1
Associate III
Aug 29, 2018 5:57 AM UTC
Question

In TrueStudio, While debugging, compiler is not stay breakpoint.

I do debugging, so I have a breakpoint, but compiler jumping the breakpoint.

This topic has been closed for replies.

6 replies

T J
Senior III
Aug 29, 2018 7:10 AM UTC

cache off for single step...

kadir ustun1
Associate III
Aug 29, 2018 8:08 AM UTC

Thank you for answered, but I don't understand.

T J
Senior III
Aug 29, 2018 8:15 AM UTC

I found that single stepping with the Cache turned on made the IDE unstable.

Which processor are you using ?

AvaTar
Senior III
Aug 29, 2018 8:24 AM UTC

Or no machine code associated with said source lines ?

Be more specific.

kadir ustun1
Associate III
Aug 29, 2018 8:59 AM UTC

I using STM32F429. And My code part is :

  uint16_t tempfloat;

tempfloat = (paramatres[5] & 0x00FF) << 16;

tempfloat |= (paramatres[6] & 0x00FF)<<8;

tempfloat |= (paramatres[7] & 0x00FF);

AvaTar
Senior III
Aug 29, 2018 9:07 AM UTC

What about the project settings ?

With optimization levels greater or equal to 1, the compiler reorganizes the code, and single-stepping can be full of surprises.