EasyManuals Logo

STMicroelectronics STM32 User Manual

STMicroelectronics STM32
118 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #33 background image
AN4989 Rev 3 33/118
AN4989 Compiling for debug
117
3 Compiling for debug
This chapter reviews the various options for debug-friendly compiling solutions.
3.1 Optimization
Compiler are usually configured by default to optimize performance and/or code size. In
most cases, this reduces or even prevents program debugging.
The most common symptoms resulting from code optimization are:
Problem to set or reach a breakpoint. Some lines are not accessible.
Impossibility to evaluate a variable (watch feature).
Inconsistency while stepping (what I get, is not what I see).
Therefore, for efficient debugging it is recommended to modify the code optimization option.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the STMicroelectronics STM32 and is the answer not in the manual?

STMicroelectronics STM32 Specifications

General IconGeneral
BrandSTMicroelectronics
ModelSTM32
CategoryMicrocontrollers
LanguageEnglish

Related product manuals