Disabling the Visual Studio Debugger for Windows Workflow Foundation (Legacy)

This topic describes how to disable the Visual Studio Debugger using the configuration file when building Windows Workflow Foundation (WF) applications in the legacy Progettazione flussi di lavoro di Windows. Use the legacy Progettazione flussi di lavoro when you need to target either the .NET Framework versione 3.5 or the .NET Framework 3.0.

By default, the Visual Studio 2010 Debugger for Windows Workflow Foundation (WF) is enabled for a host process. To disable workflow debugging, you must explicitly turn it off by adding a "DisableWorkflowDebugging" entry <switches> element in the <system.diagnostics> section of the host configuration file.

The following example shows how to modify the host configuration file to disable workflow debugging.

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
   <system.diagnostics>
      <switches>
         <add name="DisableWorkflowDebugging" value="true"/>
      </switches>
   </system.diagnostics>
</configuration>

Vedere anche

Concetti

Invoking the Visual Studio Debugger for Windows Workflow Foundation (Legacy)

Altre risorse

Debugging Legacy Workflows