Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to remotely debug a programm as root
K-Str last edited by K-Str
Re: Remote debugging error on raspberry "can't open /dev/mem: Permission denied" (sudo..)
Hello I still have the same problem execute a programm which needs root privileges.
I use qt 5.10.1 It runs on a UBUNTU 18.04.3
It's still the same problem:
Failed to open /dev/mem, try checking permissions. Failed to map the GPIO or TIMER registers into the virtual memory space.
Maybe it's helpful tu know that I use gdb-multiarch.
I think there should be any way to run it using a shell script on the remote machine or something.
Has anybody an idea?
Thanks a lot in advance
K-Str last edited by
You can solv this when you login as user root on the device.