/errorreport
Specifies how the Visual Basic compiler should report internal compiler errors.
/errorreport:{ prompt | queue | send | none }
Comentários
This option provides a convenient way to report a Visual Basic internal compiler error (ICE) to the Visual Basic team at Microsoft. By default, the compiler sends no information to Microsoft. However, if you do encounter an internal compiler error, this option allows you to report the error to Microsoft. That information will help Microsoft engineers identify the cause and may help improve the next release of Visual Basic.
A user's ability to send reports depends on machine and user policy permissions.
The following table summarizes the effect of the /errorreport option.
Option |
Behavior |
prompt |
If an internal compiler error occurs, a dialog box comes up so that you can view the exact data that the compiler collected. You can determine if there is any sensitive information in the error report and make a decision on whether to send it to Microsoft. If you decide to send it, and the machine and user policy settings allow it, the compiler sends the data to Microsoft. |
queue |
Queues the error report. Ao fazer logon com privilégios de administrador, você pode relatório quaisquer falhas desde a última vez que você efetuou login (você não precisará enviar relatórios de falhas mais de uma vez a cada três dias). This is the default behavior when the /errorreport option is not specified. |
send |
If an internal compiler error occurs, and the machine and user policy settings allow it, the compiler sends the data to Microsoft. A opção /errorReport:send tenta automaticamente enviarinformações deerro à Microsoft. Esta opção depende do registro. Para obter mais informações sobre configuração os valores apropriados no registro, consulte como ligar o relatório de erros automático no Visual Studio 2008 comandolinha Ferramentas. |
none |
If an internal compiler error occurs, it will not be collected or sent to Microsoft. |
The compiler sends data that includes the stack at the time of the error, which usually includes some source code. If /errorreport is used with the /bugreport option, then the entire source file is sent.
This option is best used with the /bugreport option, because it allows Microsoft engineers to more easily reproduce the error.
Observação |
---|
The /errorreport option is not available from within the Visual Studio development environment; it is available only when compiling from the command line. |
Exemplo
The following code attempts to compile T2.vb, and if the compiler encounters an internal compiler error, it prompts you to send the error report to Microsoft.
vbc /errorreport:prompt t2.vb
Consulte também
Referência
Exemplos de Linhas de Comando de Compilação (Visual Basic)