Skip to main content
kadir ustun1
Associate III
August 29, 2018
Question

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

  • August 29, 2018
  • 6 replies
  • 1080 views

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
August 29, 2018

cache off for single step...

kadir ustun1
Associate III
August 29, 2018

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

T J
Senior III
August 29, 2018

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

Which processor are you using ?

AvaTar
Senior III
August 29, 2018

Or no machine code associated with said source lines ?

Be more specific.

kadir ustun1
Associate III
August 29, 2018

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
August 29, 2018

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.