Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: freq on June 19, 2013, 11:01:57 pm

Title: Can i make "step into" function from c shared library?
Post by: freq on June 19, 2013, 11:01:57 pm
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?
Title: Re: Can i make "step into" function from c shared library?
Post by: oBFusCATed on June 20, 2013, 12:06:47 am
Build the library with debug symbols (-g and no stripping).
Title: Re: Can i make "step into" function from c shared library?
Post by: freq on June 20, 2013, 12:15:04 am
no stripping
What do you mean?
Can you explain, please?
Title: Re: Can i make "step into" function from c shared library?
Post by: stahta01 on June 20, 2013, 12:39:19 am
no stripping
What do you mean?
Can you explain, please?

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

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

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

Tim S.
Title: Re: Can i make "step into" function from c shared library?
Post by: freq on June 20, 2013, 12:54:25 am
Thank you very much.