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. QtCreator 2.0. Problems with Debugging Helper for Gdb
Forum Updated to NodeBB v4.3 + New Features

QtCreator 2.0. Problems with Debugging Helper for Gdb

Scheduled Pinned Locked Moved Qt Creator and other tools
7 Posts 6 Posters 13.6k 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.
  • A Offline
    A Offline
    Algirdasss
    wrote on last edited by
    #1

    Hello,

    Recenly I moved to the newly released version of QtCretor 2.0. But now I am having problems setting debugging helper for Gdb debugger (MinGw). I downloaded and installed "qt-sdk-win-opensource-2010.04" that already comes with own MinGW and Gdb.

    When I try to debug something I get message saying "Debugging helper missing. The debugger could not load the debugging helper library. The debugging helper library was not found at . ".

    "QtCreator screenshot 1":http://picasaweb.google.com/lh/photo/1SJLeo8u4S4Zjw_kJx0CFA?feat=directlink

    If I go to Options=>Qt4, where all Qt versions are listed, I can't find button "Debugging helepr: REBUILD" when MinGW version of Qt4 is selected. But this button is available in Visual Studio version of QT.

    "QtCreator screenshot 2":http://picasaweb.google.com/lh/photo/M6GkDWQHoFYXbbVc4AU6UQ?feat=directlink

    What could be the problem? Thanks indeed.

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

      Ok, I'll answer this question myself :) because luckily I found answer myself. My problem was that during SDK installation bad path to GDB was chosen. Maybe because older SDK version was available at the moment of installation. GDB path pointed to "...\2010.02\mingw\bin\gdb.exe". I corrected this manually to ".../2010.04/mingw/bin/gdb.exe" ... and that was my mistake. It seems that from QtCreator 2.0 it expects GDB to support python and doesn't support old style of helper. From now on it uses python based debugging helper that is made from python scripts. Correct path to GDB should be "...\Qt\2010.04\pythongdb\gdb-i686-pc-mingw32.exe". Folder "pythongdb" also contains scripts for python based helper.

      More abaout GDB and python:
      http://labs.trolltech.com/blogs/2010/04/22/peek-and-poke-vol-3/

      It would be nice to have QtCreator GUI saying that python based helper is available (in Tools=>Qt4), because now you get a little confused about this (if you haven't found it yourself).

      1 Reply Last reply
      0
      • S Offline
        S Offline
        stukdev
        wrote on last edited by
        #3

        Thanks for this post! I passed one hour to resolve this issue!

        [quote author="Algirdasss" date="1281513237"]
        It would be nice to have QtCreator GUI saying that python based helper is available (in Tools=>Qt4), because now you get a little confused about this (if you haven't found it yourself).
        [/quote]

        Yes, the message create a lot of confusion!

        1 Reply Last reply
        0
        • D Offline
          D Offline
          devils.fist
          wrote on last edited by
          #4

          Having python already installed on your system can cause the same problem.

          So simply unset or set your PYTHONPATH to %QTDIR%/2010.05/pythongdb/python2.5 in the project options.

          1 Reply Last reply
          0
          • S Offline
            S Offline
            Satmosc
            wrote on last edited by
            #5

            Thank you very much. I will try it.
            Also , I have an other Issue with Git branch 4.8 (master)
            bootstrap.lib

            error LNK2001: unresolved external symbol __forceCRTManifestCUR

            it should be due to wrong version of vc\crt\src\crtdefs.h but it is not !!!!

            M.Hatami
            To the Rationalism

            1 Reply Last reply
            0
            • T Offline
              T Offline
              tobias.hunger
              wrote on last edited by
              #6

              Satmosc: Just "file a bugreport":http://bugreports.qt.nokia.com/... stuff reported here tends to get lost, especially when it is appended to a random thread.

              1 Reply Last reply
              0
              • A Offline
                A Offline
                antonello
                wrote on last edited by
                #7

                Hello, just found that the solution to get STL containers debug is simply to download gdb from here
                http://origin.releases.qt-project.org/gdb/ and get qtcreator (2.6 in my case) to point to it in kit settings.

                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