User forums > Using Code::Blocks

Can i make "step into" function from c shared library?

(1/1)

freq:
I'm linking c shared library to c++ project in ubuntu 13.04 using Code::Blocks 12.11
Can i make "step into" function from c shared library when i debug my c++ project?
If yes, how i can do this?

oBFusCATed:
Build the library with debug symbols (-g and no stripping).

freq:

--- Quote from: oBFusCATed on June 20, 2013, 12:06:47 am ---no stripping

--- End quote ---
What do you mean?
Can you explain, please?

stahta01:

--- Quote from: freq on June 20, 2013, 12:15:04 am ---
--- Quote from: oBFusCATed on June 20, 2013, 12:06:47 am ---no stripping

--- End quote ---
What do you mean?
Can you explain, please?

--- End quote ---

"no stripping" means DO NOT use the linker option "-s".

http://gcc.gnu.org/onlinedocs/gcc/Link-Options.html


--- Quote ----s
    Remove all symbol table and relocation information from the executable.

--- End quote ---

Tim S.

freq:
Thank you very much.

Navigation

[0] Message Index

Go to full version