Skip to main content
Francisco SinapseEnergia
Associate III
October 5, 2017
Question

Differences between Debug & Release compile mode

  • October 5, 2017
  • 1 reply
  • 559 views
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.

    This topic has been closed for replies.

    1 reply

    Tesla DeLorean
    Guru
    October 5, 2017
    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 VenmoUp vote any posts that you find helpful, it shows what's working..