[cvsnt-dev] Is there way to debug CVS server from within VS2003 editor?
Eric B.
ebenze at hotmail.com
Mon Feb 11 22:52:29 GMT 2008
"Arthur Barrett" <arthur.barrett at march-hare.com> wrote in message
news:foqh1c$cjf$1 at paris.nodomain.org...
>> Hmmm... not sure how that works. I tried building in Debug mode, and put
>> an assert( false ) at the start of my method, but all I get is an
>> Assert() error msg - Do you want to Abort, Ignore, Retry?
>
> One of those options should automatically start the debugger I think...
Dunno if it is just my installation of VS2003, but all 3 of the options fail
to accomplish anything. In fact, I would have expected Ignore, at the very
least, to continue working fine, but even Ignore will cause one of those std
window error msgs "The application has terminated unexpectedly...".
I'll have to try it on another PC at some later point in time and see if it
is more functional.
>> Is this the only way?
>
> I think the other thing I've seen Tony do is put a wait() in server_start
> or something - yes - just found it CVS_SERVER_SLEEP set it to a big number
> and the server process will sleep for a while before getting on with the
> job.
Ahhh - will take a look into that as well. Not necessarily as practical as
being able to click to continue, but will try that.
I guess there was never any part of the CVS design to have the cvs.exe
listen to the port in the foreground? (kind of like a non-spawned daemon in
linux). That would avoid the need for the cvsservice wrapper while
devleopping / testing...
Thanks,
Eric
More information about the cvsnt-dev
mailing list