Visual Basic Compiler Options  

/bugreport

Creates a file you can use when filing a bug report.

/bugreport:file

Arguments

file
Required. The name of the file that will contain your bug report.

Remarks

The following information is placed in file:

Because a copy of all source code files is placed in file, you may want to reproduce the (suspected) code defect in the shortest possible program.

Note   The /bugreport option is not available from within the Visual Studio development environment; it is available only when compiling from the command line. It cannot be changed programmatically.

Example

The following example compiles t2.vb and puts all bug reporting information in the file problem.txt:

vbc /bugreport:problem.txt t2.vb 

See Also

Visual Basic Compiler Options | /debug | Sample Compilation Command Lines