Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Debugger issue on CentOS.
Forum Updated to NodeBB v4.3 + New Features

Debugger issue on CentOS.

Scheduled Pinned Locked Moved Solved Installation and Deployment
9 Posts 3 Posters 4.8k Views 3 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.
  • AlfaromeoCorseA Offline
    AlfaromeoCorseA Offline
    AlfaromeoCorse
    wrote on last edited by
    #1

    Please give me advice about debugging on CentOS6.8.

    When I tried debugging by Qt Creator but debugger didn't work correctly as following conditions.
    I set breakpoints, but debugger was terminated without stopping at breakpoint.

    OS: CentOS6.8 x86_64
    Qt5.6.1 Qt Creator4.0.3

    GDB7.12
    Python2.7

    Thanks.
    KOta

    kshegunovK 1 Reply Last reply
    0
    • AlfaromeoCorseA AlfaromeoCorse

      Please give me advice about debugging on CentOS6.8.

      When I tried debugging by Qt Creator but debugger didn't work correctly as following conditions.
      I set breakpoints, but debugger was terminated without stopping at breakpoint.

      OS: CentOS6.8 x86_64
      Qt5.6.1 Qt Creator4.0.3

      GDB7.12
      Python2.7

      Thanks.
      KOta

      kshegunovK Offline
      kshegunovK Offline
      kshegunov
      Moderators
      wrote on last edited by
      #2

      Did the program run correctly?
      What's the linux kernel version for that distro?

      Read and abide by the Qt Code of Conduct

      AlfaromeoCorseA 1 Reply Last reply
      0
      • kshegunovK kshegunov

        Did the program run correctly?
        What's the linux kernel version for that distro?

        AlfaromeoCorseA Offline
        AlfaromeoCorseA Offline
        AlfaromeoCorse
        wrote on last edited by
        #3

        @kshegunov said in Debugger issue on CentOS.:

        Did the program run correctly?
        What's the linux kernel version for that distro?

        It is OK about program running mode, that's problem is only debug mode.
        Kernel: 2.6.32-642.13.1.el6.x86_64
        CentOS6.8 64bit

        Thank you.
        KOta

        jsulmJ 1 Reply Last reply
        0
        • AlfaromeoCorseA AlfaromeoCorse

          @kshegunov said in Debugger issue on CentOS.:

          Did the program run correctly?
          What's the linux kernel version for that distro?

          It is OK about program running mode, that's problem is only debug mode.
          Kernel: 2.6.32-642.13.1.el6.x86_64
          CentOS6.8 64bit

          Thank you.
          KOta

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

          @AlfaromeoCorse Does GDB work? Did you try to start it manually and debug a program?

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

          AlfaromeoCorseA 1 Reply Last reply
          0
          • jsulmJ jsulm

            @AlfaromeoCorse Does GDB work? Did you try to start it manually and debug a program?

            AlfaromeoCorseA Offline
            AlfaromeoCorseA Offline
            AlfaromeoCorse
            wrote on last edited by
            #5

            @jsulm said in Debugger issue on CentOS.:

            @AlfaromeoCorse Does GDB work? Did you try to start it manually and debug a program?

            Please teach me how to start it manually..
            I made new Kit and change debugger setting.

            jsulmJ 1 Reply Last reply
            0
            • AlfaromeoCorseA AlfaromeoCorse

              @jsulm said in Debugger issue on CentOS.:

              @AlfaromeoCorse Does GDB work? Did you try to start it manually and debug a program?

              Please teach me how to start it manually..
              I made new Kit and change debugger setting.

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

              @AlfaromeoCorse enter gdb in a terminal window
              enter: file PATH_TO_EXECUTABLE
              then enter: run

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

              AlfaromeoCorseA 1 Reply Last reply
              0
              • jsulmJ jsulm

                @AlfaromeoCorse enter gdb in a terminal window
                enter: file PATH_TO_EXECUTABLE
                then enter: run

                AlfaromeoCorseA Offline
                AlfaromeoCorseA Offline
                AlfaromeoCorse
                wrote on last edited by
                #7

                @jsulm
                I tried it. Following result means GDB doesn't work?

                (gdb) run
                Starting program: /home/admin/デスクトップ/BLU_Client/build-BluClient-unknown-Debug/BluClient
                Python Exception <type 'exceptions.NameError'> Installation error: gdb.execute_unwinders function is missing:
                [Thread debugging using libthread_db enabled]
                Using host libthread_db library "/lib64/libthread_db.so.1".
                Python Exception <type 'exceptions.NameError'> Installation error: gdb.execute_unwinders function is missing:
                Python Exception <type 'exceptions.NameError'> Installation error: gdb.execute_unwinders function is missing:
                Python Exception <type 'exceptions.NameError'> Installation error: gdb.execute_unwinders function is missing:
                Python Exception <type 'exceptions.NameError'> Installation error: gdb.execute_unwinders function is missing:
                Python Exception <type 'exceptions.NameError'> Installation error: gdb.execute_unwinders function is missing:
                Python Exception <type 'exceptions.NameError'> Installation error: gdb.execute_unwinders function is missing:
                Python Exception <type 'exceptions.NameError'> Installation error: gdb.execute_unwinders function is missing:
                Python Exception <type 'exceptions.NameError'> Installation error: gdb.execute_unwinders function is missing:
                Python Exception <type 'exceptions.NameError'> Installation error: gdb.execute_unwinders function is missing:
                Python Exception <type 'exceptions.NameError'> Installation error: gdb.execute_unwinders function is missing:
                Python Exception <type 'exceptions.NameError'> Installation error: gdb.execute_unwinders function is missing:
                [New Thread 0x7fffecd37700 (LWP 9942)]
                Python Exception <type 'exceptions.NameError'> Installation error: gdb.execute_unwinders function is missing:
                Python Exception <type 'exceptions.NameError'> Installation error: gdb.execute_unwinders function is missing:

                jsulmJ 1 Reply Last reply
                0
                • AlfaromeoCorseA AlfaromeoCorse

                  @jsulm
                  I tried it. Following result means GDB doesn't work?

                  (gdb) run
                  Starting program: /home/admin/デスクトップ/BLU_Client/build-BluClient-unknown-Debug/BluClient
                  Python Exception <type 'exceptions.NameError'> Installation error: gdb.execute_unwinders function is missing:
                  [Thread debugging using libthread_db enabled]
                  Using host libthread_db library "/lib64/libthread_db.so.1".
                  Python Exception <type 'exceptions.NameError'> Installation error: gdb.execute_unwinders function is missing:
                  Python Exception <type 'exceptions.NameError'> Installation error: gdb.execute_unwinders function is missing:
                  Python Exception <type 'exceptions.NameError'> Installation error: gdb.execute_unwinders function is missing:
                  Python Exception <type 'exceptions.NameError'> Installation error: gdb.execute_unwinders function is missing:
                  Python Exception <type 'exceptions.NameError'> Installation error: gdb.execute_unwinders function is missing:
                  Python Exception <type 'exceptions.NameError'> Installation error: gdb.execute_unwinders function is missing:
                  Python Exception <type 'exceptions.NameError'> Installation error: gdb.execute_unwinders function is missing:
                  Python Exception <type 'exceptions.NameError'> Installation error: gdb.execute_unwinders function is missing:
                  Python Exception <type 'exceptions.NameError'> Installation error: gdb.execute_unwinders function is missing:
                  Python Exception <type 'exceptions.NameError'> Installation error: gdb.execute_unwinders function is missing:
                  Python Exception <type 'exceptions.NameError'> Installation error: gdb.execute_unwinders function is missing:
                  [New Thread 0x7fffecd37700 (LWP 9942)]
                  Python Exception <type 'exceptions.NameError'> Installation error: gdb.execute_unwinders function is missing:
                  Python Exception <type 'exceptions.NameError'> Installation error: gdb.execute_unwinders function is missing:

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

                  @AlfaromeoCorse If it does not terminate/crash then it should be OK, but not sure about those Python exception though.

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

                  AlfaromeoCorseA 1 Reply Last reply
                  1
                  • jsulmJ jsulm

                    @AlfaromeoCorse If it does not terminate/crash then it should be OK, but not sure about those Python exception though.

                    AlfaromeoCorseA Offline
                    AlfaromeoCorseA Offline
                    AlfaromeoCorse
                    wrote on last edited by
                    #9

                    @jsulm Thank you for your kindness! I uninstall gdb once, and reinstall. This issue was solved.
                    Best regards,
                    KOta

                    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