I just don't see "Line numbers only" option.
The option is -gl
There seems to be a bug in the project options, you can only set the checkbox if you turn on the entire debug info.
Simply go to "Custom Options" and enter it there.
Afaik you can do -gw- -gl But you have to test this.
And debug info has around 45Mb size and that's double size of whole distributive, that has both 32bit and 64bit versions of program. I don't even talk, that it's not secure to distribute program with whole debug info.
You do not need to. The IDE has "view leaks and traces" in the View menu.
- Compile your app, with as much debug info as you want. (Only line info is ok, but more does not matter)
- Keep a copy of that file.
- Use "strip.exe" to get rid of all debug info on the copy you want to distribute
If the user gets a leak or crash, they get a stackdump with addresses only.
When you receive this you can paste it into the leak viewer. Then you press the "resolve" button.
Now you can select an exe with debug info. Obviously you must choose the one you kept, the one that matches 100% the version of the user. (I.e. what it was before strip)
The leak view will resolve each line, and display the location.
You can double click to navigate.
Please test this, before you relay on it.