| | 61 | |
| | 62 | If your app isn't working, |
| | 63 | there are two ways to debug it. |
| | 64 | First, if you put |
| | 65 | {{{ |
| | 66 | <exit_before_start/> |
| | 67 | }}} |
| | 68 | in the config options, |
| | 69 | the BOINC client will set up the "slot directory" (usually slots/0/) |
| | 70 | where your application will run, and then exit. |
| | 71 | You can cd into that directory, |
| | 72 | check that the needed files are there, |
| | 73 | and run the app manually (perhaps under a debugger) by typing |
| | 74 | {{{ |
| | 75 | ../../projects/test.test/test.exe |
| | 76 | }}} |
| | 77 | In this approach the app runs in standalone mode, since the BOINC client is not running. |
| | 78 | When it's done, its output files and stderr output file will be in the slot directory. |
| | 79 | |
| | 80 | The second approach is to put |
| | 81 | {{{ |
| | 82 | <run_apps_manually/> |
| | 83 | }}} |
| | 84 | in the config options. |
| | 85 | If you do this, the BOINC client will set up to run your app, |
| | 86 | but won't actually run it; you must run it manually as above. |
| | 87 | In this case your app will interact with the BOINC client |
| | 88 | (suspend/resume, fraction-done reporting, etc.). |
| | 89 | When it's done, the output files will be in the project directory |
| | 90 | and the stderr output in client_state.xml |