From 50bd7802a406174950cef15ca119efe259e6a472 Mon Sep 17 00:00:00 2001 From: Bruce Allen Date: Sat, 19 Mar 2005 16:03:21 +0000 Subject: [PATCH] Insert #ifdef'ed out block to attach debugger to the validator. svn path=/trunk/boinc/; revision=5685 --- sched/validator.C | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/sched/validator.C b/sched/validator.C index 9269634121..8aa3cdd73e 100644 --- a/sched/validator.C +++ b/sched/validator.C @@ -528,6 +528,14 @@ int main(int argc, char** argv) { int i, retval; bool asynch = false, one_pass = false; +#if 0 + int mypid=getpid(); + char debugcmd[512]; + sprintf(debugcmd, "ddd %s %d &", argv[0], mypid); + system(debugcmd); + sleep(30); +#endif + check_stop_daemons(); for (i=1; i