]> git.saurik.com Git - wxWidgets.git/commitdiff
added debugrpt sample
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 22 Mar 2005 20:15:51 +0000 (20:15 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 22 Mar 2005 20:15:51 +0000 (20:15 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/latex/wx/tsamples.tex

index bc2f70e92fa95cc3cdd7ce0ba064604046aaa007..08ef75068d3e80984b56d9ad49cf16d680d8ccf9 100644 (file)
@@ -129,6 +129,21 @@ classes written by Remstar Intl.  Obviously, this sample requires a
 database with ODBC support to be correctly installed on your system.
 
 
+\subsection{DebugRpt sample}\label{sampledebugrpt}
+
+This sample shows how to use \helpref{wxDebugReport}{wxdebugreport} class to
+generate a debug report in case of a program crash or otherwise. On start up,
+it proposes to either crash itself (by dereferencing a NULL pointer) or
+generate debug report without doing it. Next it initializes the debug report
+with standard information adding a custom file to it (just a timestamp) and
+allows to view the information gathered using 
+\helpref{wxDebugReportPreview}{wxdebugreportpreview}.
+
+For the report processing part of the sample to work you should make available
+a Web server accepting form uploads, otherwise 
+\helpref{wxDebugReportUpload}{wxdebugreportupload} will report an error.
+
+
 \subsection{Dialogs sample}\label{sampledialogs}
 
 This sample shows how to use the common dialogs available from wxWidgets. These