Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Qt 6
  4. GNU GDB debugger Type not recognized problem
QtWS25 Last Chance

GNU GDB debugger Type not recognized problem

Scheduled Pinned Locked Moved Solved Qt 6
4 Posts 2 Posters 1.1k 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.
  • Z Offline
    Z Offline
    Zeero
    wrote on last edited by
    #1

    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
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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
      0
      • Z Offline
        Z Offline
        Zeero
        wrote on last edited by
        #3

        only one version of mingW

        1 Reply Last reply
        0
        • Z Offline
          Z Offline
          Zeero
          wrote on last edited by
          #4

          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
          1

          • Login

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