Stm32Cubeide; Figure 23. Stm32Cubeide Debug Information Option - STMicroelectronics STM32 Application Note

Microcontroller debug toolbox
Hide thumbs Also See for STM32:
Table of Contents

Advertisement

AN4989
3.2.3

STM32CubeIDE

Option to manage Debugging Information are in
Properties -> C/C++ Build -> Settings -> Tool Settings -> Debugging.
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.

Figure 23. STM32CubeIDE debug information option

AN4989 Rev 3
Compiling for debug
39/118
117

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Subscribe to Our Youtube Channel

Table of Contents

Save PDF