Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: tomay3000 on May 01, 2017, 08:33:40 pm

Title: How to make C::B and gdb recognize the references of an external source file ?
Post by: tomay3000 on May 01, 2017, 08:33:40 pm
Hello,
I have used an external library with my project in C::B, it compiles without problems, but C::B is unable to find references of the functions of that library from the context menu. also gdb debugger can not step into these functions though I have the source code of the library.

How to make this possible ?

Thank you for you understanding.
Title: Re: How to make C::B and gdb recognize the references of an external source file ?
Post by: BlueHazzard on May 02, 2017, 10:34:12 am
Quote
references of the functions of that library from the context menu
Our parser is not "that" great for this things... I don't know what limit it hits, maybe someone can point out what is going on.

Quote
also gdb debugger can not step into these functions though
Are you sure that the library is build with debug symbols, and the are not striped out?

You can add paths to the debugger via
Project->Properties->Debugger->Additional debugger search dirs
Title: Re: How to make C::B and gdb recognize the references of an external source file ?
Post by: tomay3000 on May 02, 2017, 12:18:24 pm
Quote
references of the functions of that library from the context menu
Our parser is not "that" great for this things... I don't know what limit it hits, maybe someone can point out what is going on.

Quote
also gdb debugger can not step into these functions though
Are you sure that the library is build with debug symbols, and the are not striped out?

You can add paths to the debugger via
Project->Properties->Debugger->Additional debugger search dirs

Sorry, My bad, the library is a Release Build.