BUG: CLR Debugger Does Not Hit the Break Point After the First Pass When You Debug an ASP.NET Application (814796)
The information in this article applies to:
- Microsoft Common Language Runtime (included with the .NET Framework 1.1)
- Microsoft Common Language Runtime (included with the .NET Framework) 1.0
- Microsoft ASP.NET (included with the .NET Framework 1.1)
- Microsoft ASP.NET (included with the .NET Framework) 1.0
- Microsoft .NET Framework SDK 1.1
- Microsoft .NET Framework SDK 1.0
SYMPTOMSWhen you use Microsoft CLR Debugger (DbgClr.exe) to debug the Duwamish 7.0 tutorial in ASP.NET, the break point works only the first time
on the Default.aspx page. When you load the Default.aspx page in the Web browser
later, the debugger does not stop at the break point.WORKAROUNDTo work around this problem, set the page cache to False in the Web.config file of your application. The Duwamish tutorial demonstrates how to work around this problem. To do this, follow these steps: - Locate the \Web folder of the Duwamish
application (for example, C:\Duwamish7-CS\Web).
- In a text editor such as Notepad, edit the Web.config file. Set the Duwamish.Web.EnablePageCache value to False as follows:
<DuwamishConfiguration>
<!-- Settings specific to the Duwamish application -->
<add key="Duwamish.DataAccess.ConnectionString"
value="server=MDPKB2E141;User ID=Duwamish7_login;Password=password;database=Duwamish7;Connection Reset=FALSE" />
<add key="Duwamish.Web.EnablePageCache" value="False" />
<add key="Duwamish.Web.PageCacheExpiresInSeconds" value="3600" />
<add key="Duwamish.Web.EnableSsl" value="False" />
</DuwamishConfiguration>
- Use CLR Debugger to debug the Duwamish application. For more information, see the "More Information" section.
STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are
listed at the beginning of this article.
For more information about Microsoft CLR Debugger,
visit the following Microsoft Web sites:
For additional information, click the following article number to view the
article in the Microsoft Knowledge Base: 301058
HOW TO: Debug an ASP.NET Application with the Microsoft CLR Debugger
Modification Type: | Major | Last Reviewed: | 8/22/2003 |
---|
Keywords: | kbCaching kbArchitecture kbConfig kbDebug kbbug KB814796 kbAudDeveloper |
---|
|