I am creating .elf using Platform IO(using with VS code). When i load this elf file into Proteus simulation for debugging, it does not show a source code. I have tried same thing with arduino official IDE, here it works just fine. i have tried following build flags “build_flags = -g3 -ggdb”.
build_type = debug in the
platformio.ini make any difference (as opposed to the default setting of
thank you @pfeerick.
Now i can see some of the files while debugging. But i can only see file where are from arduino library. Files where my implementation is, i still not see those files.
When you say it worked with the Arduino IDE, did you have to do anything (set any options there?) And what board (or platform) is this for?