News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

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

Started by freq, June 19, 2013, 11:01:57 PM

Previous topic - Next topic

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).
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

freq


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
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

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

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

freq