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 #39 background imageLoading...
Page #39 background image
AN4989 Rev 3 39/118
AN4989 Compiling for debug
117
3.2.3 STM32CubeIDE
Option to manage Debugging Information are in
Properties -> C/C++ Build -> Settings -> Tool Settings -> Debugging.
Figure 23. STM32CubeIDE debug information option
Debug Level can be set among four levels:
None: Level 0 produces no debug information at all;
Minimal (-g1): Level 1 produces minimal information, enough for making backtraces in
parts of the program for which no debug is planned. This includes descriptions of
functions and external variables, and line number tables, but no information about local
variables.
Default (-g): Produce debugging information in the operating system's native format
(stabs, COFF, XCOFF, or DWARF). GDB can work with this debugging information.
Maximal (-g3): Level 3 includes extra information, such as all the macro definitions
present in the program. Some debuggers support macro expansion when -g3 is used.
The same pane contains the options to add profiling information.
For further information, refer to Section 3.1 Option Summary available at http://gcc.gnu.org.

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