Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Debugger becomes signal SIGSTOP when started in Qt Creator
Forum Updated to NodeBB v4.3 + New Features

Debugger becomes signal SIGSTOP when started in Qt Creator

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
18 Posts 7 Posters 9.0k 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.
  • Nozyk_57N Offline
    Nozyk_57N Offline
    Nozyk_57
    wrote on last edited by
    #5

    I'm Working directly on the Pi. I have instaled on Pi dbg, c++, cpp and qt4-default, qtcreator, qt4-dev-tools.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #6

      Which version of the Pi ?

      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
      • Nozyk_57N Offline
        Nozyk_57N Offline
        Nozyk_57
        wrote on last edited by
        #7

        RASPBERRY PI 3 MODEL B, i have made sudo apt-get update and upgrade before and after installation Qt.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #8

          Can you try to run your debug built application through gdb directly ?

          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
          • Nozyk_57N Offline
            Nozyk_57N Offline
            Nozyk_57
            wrote on last edited by
            #9

            Yes I can.
            When I try to run debugger on gui app, it works.
            I think it's because I run Qt Creator with command "sudo qtcreator", because my console app needs sudo to read/write GPIO.

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #10

              Then a better way is to add your current user to the group that has access to the GPIO device. That way there's no need to run Qt Creator as root.

              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
              1
              • Nozyk_57N Offline
                Nozyk_57N Offline
                Nozyk_57
                wrote on last edited by
                #11

                I cannot, only root can control GPIO.

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #12

                  How are you implementing that control ?

                  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
                  • Nozyk_57N Offline
                    Nozyk_57N Offline
                    Nozyk_57
                    wrote on last edited by
                    #13

                    I'm make it through wiringPi library.

                    L 1 Reply Last reply
                    0
                    • Nozyk_57N Nozyk_57

                      I'm make it through wiringPi library.

                      L Offline
                      L Offline
                      liprandi
                      wrote on last edited by
                      #14

                      @Nozyk_57 You have to UNCHECK the checkbox Project/Run Setting/Run in terminal

                      N Aleksey_KA 2 Replies Last reply
                      4
                      • L liprandi

                        @Nozyk_57 You have to UNCHECK the checkbox Project/Run Setting/Run in terminal

                        N Offline
                        N Offline
                        nicktrandafil
                        wrote on last edited by
                        #15

                        @liprandi Thank you, this worked for me. Although I had different context: I was trying to debug with qtcreator in docker container.

                        1 Reply Last reply
                        0
                        • C Offline
                          C Offline
                          CKShih
                          wrote on last edited by
                          #16

                          Great!! This is always work for me!! Thanks!

                          1 Reply Last reply
                          0
                          • L liprandi

                            @Nozyk_57 You have to UNCHECK the checkbox Project/Run Setting/Run in terminal

                            Aleksey_KA Offline
                            Aleksey_KA Offline
                            Aleksey_K
                            wrote on last edited by
                            #17

                            @liprandi said in Debugger becomes signal SIGSTOP when started in Qt Creator:

                            @Nozyk_57 You have to UNCHECK the checkbox Project/Run Setting/Run in terminal

                            I need to run in terminal and debugger worked for me like this, now stopped for some reason. SOlved like mentioned here:
                            https://forum.qt.io/topic/100958/catching-unix-interrupt-signal-on-console-application-when-debugging-with-qtcreator

                            JonBJ 1 Reply Last reply
                            1
                            • Aleksey_KA Aleksey_K

                              @liprandi said in Debugger becomes signal SIGSTOP when started in Qt Creator:

                              @Nozyk_57 You have to UNCHECK the checkbox Project/Run Setting/Run in terminal

                              I need to run in terminal and debugger worked for me like this, now stopped for some reason. SOlved like mentioned here:
                              https://forum.qt.io/topic/100958/catching-unix-interrupt-signal-on-console-application-when-debugging-with-qtcreator

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

                              @Aleksey_K
                              ...which is indeed where I suggested telling the debugger to ignore certain signals...

                              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