Set breakpoints in static library functions

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

I moved some of the generic functions and modules to a static library.

   

My application does not have problem linking the library and seems running fine. I can even trace into the functions in the library and do step-by-step debugging. But I can not set breakpoints inside library functions. It shows a hollow circle on the leftmost column instead of a solid circle. The breakpoint is completely ignored. (see attached).

   

I can go step-by-step and get there and make a stop on that statement. 

   

I believe there is a bug that the debugger can not locate the source for BREAKPOINTS. The debugger finds the source if it moves into the library step-by-step.

   

What do you think? Are there workaround ? 

   

Thanks

   

Gregory

0 Likes
1 Solution
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Did you include the path to the Library sources in the Project -> Build settings -> Compiler -> Additional Include Directories?

   

 

   

Bob

View solution in original post

0 Likes
4 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Did you include the path to the Library sources in the Project -> Build settings -> Compiler -> Additional Include Directories?

   

 

   

Bob

0 Likes
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

Thank you for your reply, Bob.

   

Yes, the directory for the sources in the library is included. See attached

   

0 Likes
JobinT_31
Employee
Employee
50 solutions authored 25 solutions authored 10 solutions authored

Hello,

   

It will be useful if you can post your project here, or a simple project where the issue can be reproduced.

   

Thanks

   

JOBIN

0 Likes
Anonymous
Not applicable

I have this issue too. Did this ever get resolved?

   

Kelly C.

0 Likes