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. No Debugger Set Up
Forum Updated to NodeBB v4.3 + New Features

No Debugger Set Up

Scheduled Pinned Locked Moved General and Desktop
10 Posts 5 Posters 21.5k 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.
  • H Offline
    H Offline
    Hassan125
    wrote on last edited by
    #1

    Hi!!
    I have just started using qt.
    I was trying to run a open gl application in qt compiler. But the problem is that it shows No debugger setup .I want to debug the code. I have seen other posts in which people have said to configure CDB using :

    C:\Program Files (x86)\Windows Kits\8.0\Debuggers\x86\cdb.exe
    I am using Windows 8 but there is no cdb.exe in this folder . What should I do ?
    Any urgent help would be appreciated !!

    Regards,

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      AFAIK you need to download and install it from the Microsoft site. Have a look "here":http://msdn.microsoft.com/en-us/library/windows/hardware/ff551063(v=vs.85).aspx

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • Chris KawaC Offline
        Chris KawaC Offline
        Chris Kawa
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi and welcome to DevNet.

        First of all there's no qt compiler. There's Qt - the library itself and an IDE called QtCreator. The compiler it uses can be either MSVC or MinGW (on Windows). In your case it's the former.
        To get CDB you need to install Debugging Tools for Windows, which are now part of Windows SDK. Online installer for it is "here":http://msdn.microsoft.com/en-us/windows/hardware/bg162891.aspx
        When you get to the components screen the only thing needed are the debugging tools. Other stuff is not necessary if you don't plan on using any Windows SDK features.
        After installing this head to the Kits setup in QtCreator Settings and hit autodetect in the selected kit debugger section.

        1 Reply Last reply
        0
        • H Offline
          H Offline
          Hassan125
          wrote on last edited by
          #4

          Thanks a lot. It worked

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

            Hi,

            I ama trying to install QT on debian. I get the same error when I try to debug sample example. Should I use GDB? How can I install it to debian? How should I configure it on QT? Thanks in advance

            Best Regards

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              Hi and welcome to devnet,

              Please open your own thread since the OS concerned are not the same.

              In between you need to install some devel tools.

              @apt-get install gdb gdb-doc build-essential@

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • M Offline
                M Offline
                Melebius
                wrote on last edited by
                #7

                Hi, I am getting a similar problem although even after installing the Debugging Tools for Windows.

                I am running Windows 7 32-bit and have Qt Creator 3.0.1 and Debugging Tools for Windows from WDK 8.1 installed. I have set up CDB in Qt Creator’s Options window and it seems to recognize it as it detects an ABI (x86-windows-msvc2012-pe-32bit). I am using Visual C++ 2008, might this cause the issue?

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  Hi and welcome to devnet,

                  AFAIK, mixing VS2008 and WDK 8.1 is not possible. If you can, update your Visual Studio to the latest version (the express edition is free)

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  1 Reply Last reply
                  0
                  • Chris KawaC Offline
                    Chris KawaC Offline
                    Chris Kawa
                    Lifetime Qt Champion
                    wrote on last edited by
                    #9

                    You might also try to install CDB from another package. I vaguely remember that my previous job setup worked with VS2008 and CDB from Windows SDK 8.0.

                    Btw. I have VS2013 and Windows SDK 8.0 installed now and QtCreator shows this ABI for CDB: x86-windows-msvc2010-pe-32bit

                    1 Reply Last reply
                    0
                    • M Offline
                      M Offline
                      Melebius
                      wrote on last edited by
                      #10

                      Thanks for your advice, guys. Finally I got my above mentioned setup working. The only thing I had been missing was to choose the installed CDB in the Kits tab of Options window in Qt Creator (I only had it in Debuggers tab as I wrote the original post).

                      I hadn’t paid attention to the Kits settings until I installed VS2013 and got more options there. :-) It remains working after uninstalling VS2013, so it seems to have no relation to it.

                      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