Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Solved GNU GDB debugger Type not recognized problem

    Qt 6
    2
    4
    380
    Loading More Posts
    • 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.
    • Z
      Zeero last edited by

      Hello! folks,
      I need the help of the genius people of this forum, there is a red balloon on the debugger side. which stops my GNU GDB from functioning as you can see below please help me out in removing that red balloon
      error.jpg
      and when I typed gdb --version in cmd it gives a syntax error but when the gcc--version is typed it shows the output.

      error1.jpg
      before being stumbled upon this situation 'I had installed python 3.7 and MinGW separately and added their path manually before installing Qt' as I am new to Qt and software development, I need all your support.

      Thanks in advance:)
      your friendly Zeero

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        Hi and welcome to devnet,

        How many versions of MinGW do you have installed ?

        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 Reply Quote 0
        • Z
          Zeero last edited by

          only one version of mingW

          1 Reply Last reply Reply Quote 0
          • Z
            Zeero last edited by

            Thanks a lot, SGaist

            And forgot to mention I figured out the solution to my problem. I had over-specified 'pythonpath in the 'system variable' of the advanced setting which caused the gdb to be unrecognized. when I removed the pythonpath ("something that separately prioritizes language environment") completely then it detected gdb in cmd and Qt. I hope it will help somebody with the same problem. the partial credit goes to a post in StackOverflow which mentioned gdb won't function if the python environment mistakes the actual path even though both normal path and pythonpath are derived from a single installation and single location (which in my case was the python 3.7 only nothing else). The root thing goes to gdb dependency on python scripting extension as was mentioned in Qt guide of debugger installation.
            Here goes my windows
            error.jpg

            error1.jpg

            1 Reply Last reply Reply Quote 1
            • First post
              Last post