Changes between Version 23 and Version 24 of AppDebug


Ignore:
Timestamp:
Sep 7, 2011, 4:56:19 PM (13 years ago)
Author:
davea
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AppDebug

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