Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to step in to libc source code
Forum Updated to NodeBB v4.3 + New Features

How to step in to libc source code

Scheduled Pinned Locked Moved Solved General and Desktop
2 Posts 1 Posters 613 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • 1 Offline
    1 Offline
    12398890
    wrote on 10 May 2016, 02:36 last edited by
    #1

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

    I don't know how to do it in qtcreator, please help me.

    many thanks

    1 Reply Last reply
    0
    • 1 Offline
      1 Offline
      12398890
      wrote on 10 May 2016, 03:17 last edited by
      #2

      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 Reply Last reply
      0

      1/2

      10 May 2016, 02:36

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved