mirror of https://github.com/BOINC/boinc.git
Improved docs describing debug output
svn path=/trunk/boinc/; revision=5277
This commit is contained in:
parent
e5058d872f
commit
3f67d199f0
|
@ -23763,8 +23763,10 @@ Bruce 2 Feb 2005
|
||||||
);
|
);
|
||||||
Emacs experts, advice appreciated!
|
Emacs experts, advice appreciated!
|
||||||
|
|
||||||
download/
|
doc/
|
||||||
configuration.php
|
configuration.php
|
||||||
|
server_debug.php
|
||||||
|
|
||||||
sched/
|
sched/
|
||||||
sched_config.h
|
sched_config.h
|
||||||
sched_config.C
|
sched_config.C
|
||||||
|
|
|
@ -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
|
This is useful for figuring out why your project is generating
|
||||||
'no work available' messages.
|
'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.
|
||||||
|
|
||||||
<h2>MySQL interfaces</h2>
|
<h2>MySQL interfaces</h2>
|
||||||
You should become familiar with MySQL tools such as
|
You should become familiar with MySQL tools such as
|
||||||
<ul>
|
<ul>
|
||||||
|
|
Loading…
Reference in New Issue