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.
Содержание STM32 Series
Страница 46: ...Connecting to the board AN4989 46 118 AN4989 Rev 3 Figure 30 Keil hotplug step2 ...
Страница 91: ...AN4989 Rev 3 91 118 AN4989 Debug through hardware exploration 117 Figure 69 STM32F4 F7 dual MCO capabilities ...
Страница 103: ...AN4989 Rev 3 103 118 AN4989 Managing DBGMCU registers 117 Figure 78 Generator Options debug MCU in STM32CubeIDE ...