Skip to main content
cjaya.1
Associate III
September 26, 2022
Question

strange behaviour on STM32Cube IDE 1.9.0. In the debugging mode,if I wanted "step into" the function within the switch statement it just skip and does not "step into" the function. It is very strange. Any one can help this. very much appreciated. Tha

  • September 26, 2022
  • 1 reply
  • 1450 views

..

This topic has been closed for replies.

1 reply

Tesla DeLorean
Guru
September 26, 2022

Not clear what part you're using.

Would suggest you turn OFF optimization if you want more linear-flow of code.

Perhaps generate a disassembly or code vs assembler, and WALK that to understand the flow/expectations.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
cjaya.1
cjaya.1Author
Associate III
September 26, 2022

Thank you for the reply. much appreciated. I am using the ST link v2 debugger. I am new to the STM32 Cube IDE where can I find to turn OFF optimization. And how do I generate disassembly. I have written in c using HAL libraries.