I have a program that is sending a lot of debug information to the console (and makes the GC run quite frequently too…). I am debugging using USB.
I (think : !) I have a weird behavior:
- If I start my domino application unattached to the conputer, running on external power, it seems to be able to run fine for days
- If I start the same application from VS2010 and let it run in debug mode (scrolling… scrolling), it seems also to be able to run fine for days
- If I run the application from VS2010, then hit the “stop” button to continue developping or do something else, or (not sure) if I run the board from USB power only, VS not running : after a few hours, the application seems to be crashing.
Am I getting an exeption only when the VS debugger is not running ? (I did many many tests to try to capture it) : That’s called Murphy’s Law…
Or maybe, when the board is started with VS2010 does the board “stores” in memory the debug information it’s unable to send, and after “some times” I run out of memory ?
Is there a way to send debug information (exceptions, GC calls, etc) to a file on an SD card or USB stick instead of USB ?
If anyone has any clue, it’s welcome…
Thank you very much in advance !