‑‑debug, -r
In this section:
Syntax
‑‑debug -r
Description
Use the ‑‑debug or -r option to make the compiler include information in the object modules required by the IAR C-SPY® Debugger and other symbolic debuggers.
Note
Including debug information will make the object files larger than otherwise.
Caution
Project>Options>C/C++ Compiler>Output>Generate debug information