Updated: July 20, 2015
For the latest documentation on Visual Studio 2017 RC, see Visual Studio 2017 RC Documentation.
Creates a file that you can use when you file a bug report.
|Required. The name of the file that will contain your bug report. Enclose the file name in quotation marks (" ") if the name contains a space.|
The following information is added to
A copy of all source-code files in the compilation.
A list of the compiler options used in the compilation.
Version information about your compiler, common language runtime, and operating system.
Compiler output, if any.
A description of the problem, for which you are prompted.
A description of how you think the problem should be fixed, for which you are prompted.
Because a copy of all source-code files is included in
file, you may want to reproduce the (suspected) code defect in the shortest possible program.
If this option is used with
/errorreport:send, and your application encounters an internal compiler error, the information in
file is sent to Microsoft Corporation. That information will help Microsoft engineers identify the cause of the error and may help improve the next release of Visual Basic. By default, no information is sent to Microsoft. However, when you compile an application by using
/errorreport:queue, which is enabled by default, the application collects its error reports. Then, when the computer's administrator logs in, the error reporting system displays a pop-up window that enables the administrator to forward to Microsoft any error reports that occurred since the logon.
The following example compiles
T2.vb and puts all bug-reporting information in the file
vbc /bugreport:problem.txt t2.vb