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 code level debugging

Hi,

I have a problem with getting source-code debugging for created library. I've searched whole forum for this problem, but with poor results. This is what I do:
1. Some part of code is putted into standalone project and compiled as library file. Then I include this produced *.LIB file(with header files) in final project. Everything works fine, functions, variables etc. There is only one problem - I can't see C source code during debugging, there is ASM code instead.
2. Library is compiled with selected all options in "Output" tab, including "Debug view".
3. According to one of similar task, I've found on this forum, I added SET SRC = ..... command in DEBUG comand line. It's little bit better, debugger opens correct source file but nothing happens. The "YELLOW ARROW" doesn't jump to the correct statement in code. In fact there isn't no "YELLOW ARROW" in the C source file.

Is there something I'm doing wrong/or not doing? Have you got any solution for this?

Best regards,
Lukas

  • Hi,

    I've made some tests and I think I know where is the problem. My whole project is organized as Workspace with with 3 projects inlcuded. One of them is compiled as *.LIB file. When I'm debugging this library through workspace project it doesn't work. But, when I open the same project as standalone, there is no problem and it works fine. I think this is some kind of system bug in uVision IDE. My uVision version is 3.62(latest one). Do you know any solution?

    Best regards,
    Lukas

0