Iron Speed Designer creates a standard .NET application so you can use the debugging features
of Microsoft Visual Studio .NET to debug your applications. When an application is created, a
VBPROJ or a CSPROJ file is created along with the source files. You can open this project file
in Visual Studio .NET, compile your application with debugging information, and set breakpoints
to stop at any point in your application.
Note: Visual Studio .NET requires an application resident on the local machine for debugging purposes.
Step 1: Open your application in Visual Studio .NET.
Step 2: In Microsoft Visual Studio, select Build, Configuration Manager. This displays
the Configuration Manager dialog.
Step 3: Select a <New...> Active Solution Configuration.
Step 4: Give it a name such as "Debug", and click "OK".
Visual Basic .NET applications
In the Solution Explorer, right-click the solution’s name and select Properties. Then,
select the Configuration Properties and the Build option in this group. You will notice
a check box titled ‘Generate Debugging Information’ in the panel to the right. Make sure
you check this control.
C# applications
In the Solution Explorer, right-click the solution’s name and select Properties. Select
the Configuration Properties and the Build option in this group. You will notice a property
titled ‘Generate Debugging Information’ in the panel to the right. Make sure the value for this
property is set to ‘True’
Step 5: Click the "Close" button in Configuration Manager. Notice that the project
can now be compiled in "Debug" mode via Visual Studio .NET.
Step 6: Change your application’s Web.config file for debugging mode:
|
<compilation defaultLanguage="c#" debug="true" />
|
or
|
<compilation defaultLanguage="vb" debug="true" />
|
Set compilation debug="true" to insert debugging symbols (.pdb information) into the
compiled page. Because this creates a larger file that executes more slowly, you should
set this value to true only when debugging and to false at all other times. For more information,
refer to the documentation about debugging ASP.NET files.
Note: For faster performance, we recommend your application be compiled in Release mode.
|