On Mon, 2008-02-18 at 22:52 +1030, Craig Keogh wrote: > I want to debug a gvfs backend, sftp in particular. How is it done? > > I start gvfsd -r, to replace the system-installed gvfsd. I'm able to set > breakpoints within gvfsd, but the sftp backend seems to be run from a > new spawned process. > > Whilst I can attach to this new sftp backend process (and that works > fine) I want to debug the startup. How is that done?
Just kill your gvfsd-sftp and start a new one, with something like: gvfsd-sftp host=foo Of course, this doesn't allow you to handle authentication. That gets a little trickier. You can try using gvfs-mount and then attach to the gvfsd-sftp process. _______________________________________________ gnome-vfs-list mailing list gnome-vfs-list@gnome.org http://mail.gnome.org/mailman/listinfo/gnome-vfs-list