cancel
Showing results for 
Search instead for 
Did you mean: 

Differences between Debug & Release compile mode

Posted on October 05, 2017 at 18:09

Hi all,

I would like yo know the differences between Debug & Release compile mode. Usually, I work with STM32f4 microcontroller family using Atollic TRUEStudio IDE. By default, I use Debug mode, but in some cases my microcontroller seems frozen. Why? Does Release compile mode more efficient than Debug mode?

Thanks in advance.

1 REPLY 1
Posted on October 05, 2017 at 19:00

Look at the settings in the project meta data.

Often enables asserts, and disables optimizations. The former can stick in while loops, the former allows single stepping and better line resolution.

If your code is stuck, stop it and check where it is.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..