From 3f67d199f093b6685c76ef61b0ed7fee70ff0270 Mon Sep 17 00:00:00 2001 From: Bruce Allen Date: Wed, 2 Feb 2005 19:43:52 +0000 Subject: [PATCH] Improved docs describing debug output svn path=/trunk/boinc/; revision=5277 --- checkin_notes | 4 +++- doc/server_debug.php | 16 ++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/checkin_notes b/checkin_notes index 0f7da882e3..e1246e5cf4 100755 --- a/checkin_notes +++ b/checkin_notes @@ -23763,8 +23763,10 @@ Bruce 2 Feb 2005 ); Emacs experts, advice appreciated! - download/ + doc/ configuration.php + server_debug.php + sched/ sched_config.h sched_config.C diff --git a/doc/server_debug.php b/doc/server_debug.php index 1ae0b45db1..b56f2ece70 100644 --- a/doc/server_debug.php +++ b/doc/server_debug.php @@ -54,6 +54,22 @@ Run the scheduler under the debugger, giving it this file as stdin, This is useful for figuring out why your project is generating 'no work available' messages. +As an alternative to this, edit handle_request.C, and put +a call to debug_sched(sreq, sreply, "../debug_sched") just +before sreply.write(fout). +Then, after recompiling, touch a file called 'debug_sched' in +the project root directory. +This will cause transcripts of all subsequent scheduler requests and +replies to be written to the cgi-bin/ directory with separate +small files for each request. The file names are sched_request_H_R +where H=hostid and R=rpc sequence number. +This verbose debugging output can be turned off by simply removing +the '../debug_sheck()' call. + + +touch a file called 'debug_sched' in +the project root directory. +

MySQL interfaces

You should become familiar with MySQL tools such as