[Qt-creator] gdb 'extended-remote' option

Nick Newton n-newton at outlook.com
Sun Apr 5 15:10:41 CEST 2015


In reference to a thread on qt.io i made a couple of days ago (https://forum.qt.io/topic/52918/debugging-gui-apps-which-need-elevated-priveledges)
I noticed while trying to use a remote debugging session, when gdbserver was started with the --multi option, all i get isa messagebox stating:
'Connecting to remote server failed: The target is not running (try extended-remote?)'
Is this an option that is already there, but just hidden away somewhere i havn't seen? If not, it would be an extremely welcome addition,mainly due to a need to debug a GUI application that requires superuser rights, (hence the use of gdbserver via sudo/kdesu etc).
Also if i may make a slight suggestion, maybe an option to debug as root from the IDE itself? something in the vain of how gksu/kdesu etc do it,using the whole remote-device session over ssh is extremely convoluted when you need to debug a local application, and doesn't work at all if that appneeds a connection the the X-Server (can be solved with X11-Forwarding but still...).
Thanks, -Nick. 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20150405/78164c35/attachment.html>


More information about the Qt-creator mailing list