User forums > General (but related to Code::Blocks)

How to make C::B and gdb recognize the references of an external source file ?

(1/1)

tomay3000:
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.

BlueHazzard:

--- Quote ---references of the functions of that library from the context menu
--- End quote ---
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
--- End quote ---
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

tomay3000:

--- Quote from: BlueHazzard on May 02, 2017, 10:34:12 am ---
--- Quote ---references of the functions of that library from the context menu
--- End quote ---
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
--- End quote ---
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

--- End quote ---

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

Navigation

[0] Message Index

Go to full version