Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt Creator 3.3.0 + CentOS 6 + GDB 7.8 = Bug?
Forum Updated to NodeBB v4.3 + New Features

Qt Creator 3.3.0 + CentOS 6 + GDB 7.8 = Bug?

Scheduled Pinned Locked Moved Qt Creator and other tools
2 Posts 2 Posters 1.3k Views 1 Watching
  • 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.
  • G Offline
    G Offline
    goodguysoft
    wrote on last edited by
    #1

    I have Qt Creator 3.3.0 + CentOS 6 + GDB 7.8 configuration. GDB works perfectly from command line. However, Qt Creator hangs when I try to step in. It writes following message after 40 seconds:

    bq. The gdb process has not responded to a command within 40 second(s). This could mean it is stuck in an endless loop or taking longer than expected to perform the operation.
    You can choose between waiting longer or aborting debugging

    Is there any workaround? If GDB works good from command line with the same executable, why is doesn't work with Qt IDE?

    1 Reply Last reply
    0
    • A Offline
      A Offline
      andrep
      wrote on last edited by
      #2

      The executable alone is not the only variable in this game, but also which kind of commands GDB is asked to perform. And this is very likely different in a Qt Creator session to what you tried to in your manual session.

      To see which GDB commands Qt Creator executes precisely, open Windows->Views->Debugger Log, and have a look at the left pane. You should be able to cut&paste that into a standalone gdb -i mi session, which I would not expect to react within 40 seconds either.

      1 Reply Last reply
      0

      • Login

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