You are here

Set breakpoints in static library functions | Cypress Semiconductor

Set breakpoints in static library functions

Summary: 4 Replies, Latest post by dspGuru on 31 Aug 2016 02:28 PM PDT
Verified Answers: 1
Last post
Log in to post new comments.
gf373's picture
4 posts

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 ? 






user_1377889's picture
9292 posts

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



gf373's picture
4 posts

Thank you for your reply, Bob.

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

jobi's picture
Cypress Employee
69 posts


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



user_156863's picture
9 posts

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

Kelly C.

Log in to post new comments.