This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Library source-level debugging

Hi,
I've built a library with arm-none-eabi-gcc with -g (Tag_ABI_optimization_goals = Optimized for best debugging illusion, speed and small size sacrificed (=6)).
I'm trying to debug that library under Keil v5, so:
- I build the library in my application with debug information,
- I launch the debugger
- I execute: set SRC=path_to_sources
But the debugger doesn't open the corresponding source file when an API of the library is called and if I open a source file I can't set a breakpoint anywhere in.

I'm I doing something wrong?

Thanks