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.9k 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.
  • A Offline
    A Offline
    AlfaromeoCorse
    wrote on 31 Jan 2017, 15:24 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

    K 1 Reply Last reply 31 Jan 2017, 23:21
    0
    • A AlfaromeoCorse
      31 Jan 2017, 15:24

      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

      K Offline
      K Offline
      kshegunov
      Moderators
      wrote on 31 Jan 2017, 23:21 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

      A 1 Reply Last reply 1 Feb 2017, 02:13
      0
      • K kshegunov
        31 Jan 2017, 23:21

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

        A Offline
        A Offline
        AlfaromeoCorse
        wrote on 1 Feb 2017, 02:13 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

        J 1 Reply Last reply 1 Feb 2017, 06:15
        0
        • A AlfaromeoCorse
          1 Feb 2017, 02:13

          @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

          J Online
          J Online
          jsulm
          Lifetime Qt Champion
          wrote on 1 Feb 2017, 06:15 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

          A 1 Reply Last reply 1 Feb 2017, 09:05
          0
          • J jsulm
            1 Feb 2017, 06:15

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

            A Offline
            A Offline
            AlfaromeoCorse
            wrote on 1 Feb 2017, 09:05 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.

            J 1 Reply Last reply 1 Feb 2017, 09:07
            0
            • A AlfaromeoCorse
              1 Feb 2017, 09:05

              @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.

              J Online
              J Online
              jsulm
              Lifetime Qt Champion
              wrote on 1 Feb 2017, 09:07 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

              A 1 Reply Last reply 1 Feb 2017, 09:16
              0
              • J jsulm
                1 Feb 2017, 09:07

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

                A Offline
                A Offline
                AlfaromeoCorse
                wrote on 1 Feb 2017, 09:16 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:

                J 1 Reply Last reply 1 Feb 2017, 11:43
                0
                • A AlfaromeoCorse
                  1 Feb 2017, 09:16

                  @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:

                  J Online
                  J Online
                  jsulm
                  Lifetime Qt Champion
                  wrote on 1 Feb 2017, 11:43 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

                  A 1 Reply Last reply 1 Feb 2017, 12:07
                  1
                  • J jsulm
                    1 Feb 2017, 11:43

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

                    A Offline
                    A Offline
                    AlfaromeoCorse
                    wrote on 1 Feb 2017, 12:07 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

                    1/9

                    31 Jan 2017, 15:24

                    • Login

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