info-cvs
[Top][All Lists]
Advanced

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

Re: CVS server debugging


From: Mike Ayers
Subject: Re: CVS server debugging
Date: Sun, 20 Oct 2002 13:35:19 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1) Gecko/20020826

Larry Jones wrote:
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.

        Much better than my suggestion!


/|/|ike






reply via email to

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