[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CVS server debugging

From: Larry Jones
Subject: Re: CVS server debugging
Date: Sun, 20 Oct 2002 16:17:25 -0400 (EDT)

Dan Peterson writes:
> Is there a way to start the CVS server (pserver) so it can be run through
> gdb?

Unless you're trying to debug something in the authentication protocol,
it's much simpler to debug using :fork: than pserver.  You can set the
$CVS_SERVER_SLEEP environment variable to make the server sleep for the
specified number of seconds to give you time to attach to it.  You can
also set $CVS_CLIENT_LOG to capture a client/server session and then run
the server under a debugger with it's input redirected from the client
log file so you don't need an active client process while debugging.

-Larry Jones

Even though we're both talking english, we're not speaking the same language.
-- Calvin

reply via email to

[Prev in Thread] Current Thread [Next in Thread]