Debugger becomes signal SIGSTOP when started in Qt Creator
-
When I execute my program all works fine. Problem is when I will debugging. Program cannot start, there is popped new window with message
"The inferior stopped becouse it received a signal from the Operating System
Signal name: SIGSTOP
Signal meaning: Stopped (signal)"I use Qt Creator 3.2.1 with Qt 4.8.6 on raspbian.
-
Hi and welcome to devnet,
You should add which version of Qt, Qt Creator and OS your are using.
-
Hi and welcome to devnet,
You should add which version of Qt, Qt Creator and OS your are using.
-
Are you cross-compiling ? Working directly on the Pi ?
-
Which version of the Pi ?
-
Can you try to run your debug built application through gdb directly ?
-
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.
-
How are you implementing that control ?
-
@liprandi Thank you, this worked for me. Although I had different context: I was trying to debug with qtcreator in docker container.
-
@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 -
@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@Aleksey_K
...which is indeed where I suggested telling the debugger to ignore certain signals...