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. debugger not working
Forum Updated to NodeBB v4.3 + New Features

debugger not working

Scheduled Pinned Locked Moved Solved General and Desktop
11 Posts 3 Posters 2.0k 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.
  • S saber

    i am triying to fix the debugger of my qt.
    i am in linux,qt 5.11.1.
    debugger is not working from my installintion of qt.
    it shows me this dialog box
    0_1534090320661_a.png

    JonBJ Offline
    JonBJ Offline
    JonB
    wrote on last edited by
    #2

    @saber
    It looks like a warning. What happens if you click OK?
    It states that what you're trying to debug has not been compiled for debug. Has it been compiled for debug?
    What are you "trying to fix"?

    S 1 Reply Last reply
    0
    • JonBJ JonB

      @saber
      It looks like a warning. What happens if you click OK?
      It states that what you're trying to debug has not been compiled for debug. Has it been compiled for debug?
      What are you "trying to fix"?

      S Offline
      S Offline
      saber
      wrote on last edited by
      #3

      @JonB after clicking ok, it give this in application output

      Unable to create a debugging engine. Please select a Debugger Setting from the Run page of the project mode.
      

      it build is in debug .

      here is the project page
      0_1534123639245_a2.png

      i am trying to get working the debugger .i place the debug point likse this
      0_1534123778233_a3.png

      jsulmJ 1 Reply Last reply
      0
      • S saber

        @JonB after clicking ok, it give this in application output

        Unable to create a debugging engine. Please select a Debugger Setting from the Run page of the project mode.
        

        it build is in debug .

        here is the project page
        0_1534123639245_a2.png

        i am trying to get working the debugger .i place the debug point likse this
        0_1534123778233_a3.png

        jsulmJ Offline
        jsulmJ Offline
        jsulm
        Lifetime Qt Champion
        wrote on last edited by
        #4

        @saber Go to your kit settings and check whether a debugger is set there. If so, check whether there are any warnings (yellow/red triangle).

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        S 1 Reply Last reply
        0
        • jsulmJ jsulm

          @saber Go to your kit settings and check whether a debugger is set there. If so, check whether there are any warnings (yellow/red triangle).

          S Offline
          S Offline
          saber
          wrote on last edited by
          #5

          @jsulm i don't think it is set

          0_1534135903241_a1.png
          0_1534135910699_a3.png

          jsulmJ 1 Reply Last reply
          0
          • S saber

            @jsulm i don't think it is set

            0_1534135903241_a1.png
            0_1534135910699_a3.png

            jsulmJ Offline
            jsulmJ Offline
            jsulm
            Lifetime Qt Champion
            wrote on last edited by jsulm
            #6

            @saber Well, then you need to fix it. Did you install GDB?

            https://forum.qt.io/topic/113070/qt-code-of-conduct

            S 1 Reply Last reply
            1
            • jsulmJ jsulm

              @saber Well, then you need to fix it. Did you install GDB?

              S Offline
              S Offline
              saber
              wrote on last edited by
              #7

              @jsulm said in debugger not working:

              GDB

              this one ?
              0_1534136544616_a4.png

              jsulmJ 1 Reply Last reply
              0
              • S saber

                @jsulm said in debugger not working:

                GDB

                this one ?
                0_1534136544616_a4.png

                jsulmJ Offline
                jsulmJ Offline
                jsulm
                Lifetime Qt Champion
                wrote on last edited by
                #8

                @saber yes

                https://forum.qt.io/topic/113070/qt-code-of-conduct

                S 1 Reply Last reply
                0
                • jsulmJ jsulm

                  @saber yes

                  S Offline
                  S Offline
                  saber
                  wrote on last edited by
                  #9

                  @jsulm installed .then?

                  jsulmJ 1 Reply Last reply
                  0
                  • S saber

                    @jsulm installed .then?

                    jsulmJ Offline
                    jsulmJ Offline
                    jsulm
                    Lifetime Qt Champion
                    wrote on last edited by
                    #10

                    @saber Restart QtCreator and check whether it detected the debugger. If it did not, add the path manually (usually /usr/bin/gdb).

                    https://forum.qt.io/topic/113070/qt-code-of-conduct

                    S 1 Reply Last reply
                    3
                    • jsulmJ jsulm

                      @saber Restart QtCreator and check whether it detected the debugger. If it did not, add the path manually (usually /usr/bin/gdb).

                      S Offline
                      S Offline
                      saber
                      wrote on last edited by
                      #11

                      @jsulm
                      many many thanks. its found the dbugger and it's working
                      0_1534137033602_q.png

                      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