Unsolved Debugger becomes signal SIGSTOP when started in Qt Creator
-
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. -
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.
-
I cannot, only root can control GPIO.
-
How are you implementing that control ?
-
I'm make it through wiringPi library.
-
@Nozyk_57 You have to UNCHECK the checkbox Project/Run Setting/Run in terminal
-
@liprandi Thank you, this worked for me. Although I had different context: I was trying to debug with qtcreator in docker container.
-
Great!! This is always work for me!! Thanks!
-
@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...