Sunday, March 22, 2015

FMod - Crash Reports

I noticed that Abiathar's crash logs were always empty (zero-byte) files despite there being code to write information about the deadly exception to the file. Apparently, I had forgotten to issue a Close or Flush command to the StreamWriter responsible for the error report file. So, all its buffered data was lost when I instructed the program to terminate after displaying the crash dialog. The problem has been fixed, and the report files now are named with the date and time, like the dependency file loading failure reports.

No comments:

Post a Comment