How to Debug a Release Version with CubeIDE and the given Options ?
Hello,
Is there a way to generate releasecode to release to the public without Debugging information in the File. But to debug the Code with some exta Debug Files later?
I would like to build a seperate Hex/Bin and Debug file.
In other IDEs or in GNU Compiles you can split Debug Information and the executable in 2 Different files, to Release the Executable to the Public but still Debug it (with help of the debug Files) if you need to.
e.g. the tools objcopy and strip from the buildutils are made for this. But they are unable to work with the STM .elf format.
Here is a described example: https://stackoverflow.com/questions/866721/how-to-generate-gcc-debug-symbol-outside-the-build-target
But I am unable to set somthing similar up in the CubeIDE.
Does somebody have a Idear, how to generate debuggable release build without publishing the Debug Information ?
