Re: Debugging gvfsd
- From: Alexander Larsson <alexl redhat com>
- To: Craig Keogh <cskeogh bigpond net au>
- Cc: gnome-vfs-list gnome org
- Subject: Re: Debugging gvfsd
- Date: Tue, 19 Feb 2008 09:55:23 +0100
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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]