Debugger: Rework report generation.
authorRene Gollent <rene@gollent.com>
Tue, 17 Jun 2014 03:21:12 +0000 (23:21 -0400)
committerRene Gollent <rene@gollent.com>
Tue, 17 Jun 2014 03:21:12 +0000 (23:21 -0400)
commitdee948553c1a0c3edadf2872f3b70cc8f38a6002
tree530bc35b2b9cdbe19c74d285d32e6b09d0515be4
parente6d5152f7efe1e397232592f9cd4a5c3dcea924c
Debugger: Rework report generation.

Rather than trying to buffer the entire report in memory and write
it in a single shot, write it incrementally as the data is gathered.

Fixes an issue reported by Diver with generating crash reports for
apps that had crashed due to an infinite recursion stack overflow.
src/apps/debugger/controllers/DebugReportGenerator.cpp
src/apps/debugger/controllers/DebugReportGenerator.h