rdmenezes / crashrpt

Automatically exported from code.google.com/p/crashrpt
0 stars 0 forks source link

Add non-gui mode override flag for crGenerateErrorReport() #194

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
During crInstall we give it an info struct that says if it should show the GUI 
or not during reports.  Normally during real crashes this is what we want, 
however if we call crGenerateErrorReport() to send some files and dump data but 
do not want it to show a GUI, only send the files quietly I do not see any way 
to change the info.flags after install.  Is there a way to send a report 
outside of crashing where the user does not see the dialog and the program will 
keep running?

What we want to do is report when certain conditions occur in the code even if 
they do not cause a crash and keep running.

Original issue reported on code.google.com by zexspect...@gmail.com on 27 Mar 2013 at 1:13

GoogleCodeExporter commented 9 years ago
I think it would be most flexible to allow this function to be passed an entire 
info structure pointer (default null means use the info values given in 
crInstall()) so the user can change any of the info behaviors they want for 
this single call.  True crashes would still use the crInstall() values.  For 
example we would probably also want to turn off screenshots, perhaps send these 
reports to a different server, using a different project name, etc.

Original comment by da...@groovydomain.com on 27 Mar 2013 at 1:39