How to step in to libc source code
Solved
General and Desktop
-
wrote on 10 May 2016, 02:36 last edited by
I'm using qtcreator to debugging some code, and I want to step in to libc source. I have no idea how to do it.
I have libc source code installed use "apt-source libc6-dev", In ddd debugger I can use follow commands and step in to libc
directory ~/Desktop/Projects/glibc-2.23/malloc
directory ~/Desktop/Projects/glibc-2.23/stdlibI don't know how to do it in qtcreator, please help me.
many thanks
-
wrote on 10 May 2016, 03:17 last edited by
I know how to do it now.
In qtcreator menu "tools->options->debugger->gdb"
we put the commands in "Additional Startup Commands" and "Additional Attach Commands",
then we can simply step in to any library function we want.thank you guys to create the amazing IDE.
1/2