kdevelop (4.90.90) on remote display?

Michael George Hart michael.george.hart at gmail.com
Thu Feb 5 03:37:25 GMT 2015


I still am puzzling out how to make remote debugging work within kdevelop
4.7


Here is a script (bash/sh) you can use to fire off gdb server if you
already running application on a remote machine.

apid=`ssh neptune ps -o pid,command | grep a.r.passthru | cut -d " " -f 2`
ssh neptune 'gdbserver --attach --debug --remote-debug 192.168.1.45:2345
'$apid


If you want to fire off the debugging session from scratch you can do this
and your are low on disk space on the remote machine your could do this
following:






*cp <your application> strip.<your application>strip --strip-debug
strip.<your application>scp strip.<your application> <remote
machine>:/<path to run remote>/<your application name>ssh <remote machine>
'gdbserver --attach --debug --remote-debug 192.168.1.45:2345
<http://192.168.1.45:2345> /<path to run remote>/<your application name>*'

replacing your information between the < and >



On Wed, Feb 4, 2015 at 6:50 PM, René J.V. <rjvbertin at gmail.com> wrote:

> On Wednesday February 04 2015 23:26:26 Nicolai Hähnle-Montoro wrote:
>
> > Maybe the OP's problem has to do with various differences between the
> > client and server X libraries?
>
> Who knows. In theory they're both of the XOrg.org flavour.
>
> > I know for a fact that KDevelop works decently with NFS, and I expect
> > that it'll also work okay with sshfs.
>
> Well that's going to make for speedy compilations...!
>
> > > I'm more concerned about Qt applications being non-starter over remote
> > > X.
> >
> > Luckily we'll all soon be using Wayland, so this will become a
> non-issue.[0]
> > [0] Though obviously not in a way that makes people like us happy ;-)
>
> Hah, I presume you're referring to the way Wayland is (not) going to be
> making its appearance on OS X or MS Windows?
>
> > *That* said, I just did a quick test of a (non-kf5) Qt5 application over
> > X forwarding, and it generally seemed to work (lost my color scheme, but
> > that's maybe not surprising since it's otherwise inheriting it from X
>
> Are you also getting a kind of grey/beige background in the UI? I even get
> that when I launch a Qt5 application with the xcb plugin on OS X, rendering
> to the local X11 server.
>
> R.
> _______________________________________________
> KDevelop mailing list
> KDevelop at kde.org
> https://mail.kde.org/mailman/listinfo/kdevelop
>



-- 
*"...Hope is what makes us strong. It is why we are here. It is what we
fight with when all is lost..."*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop/attachments/20150204/fb06dd8a/attachment.html>


More information about the KDevelop mailing list