BUG: Client-Side Breakpoints in Active Server Pages Not Hit with Internet Explorer 5 InstalledID: Q233035
|
If Internet Explorer 5.0 is installed, when automatically debugging an Active Server Pages (ASP) page that has client-side breakpoints, the client-side breakpoints are not hit. Both breakpoints set in server-side code in ASP pages and breakpoints set in client-side code in HTML pages are hit.
In order to hit embedded client-side breakpoints, two things need to be set:
There are multiple workarounds for this issue:
Q196378 HOWTO: Debugging Active Server Pages Applications ManuallyNOTE: In order to debug the client-side code, you will also have to attach to the appropriate Iexplore.exe process.
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article.
<%@ Language=VBScript %>
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<SCRIPT ID=clientEventHandlersJS LANGUAGE=javascript>
function button1_onclick() {
alert("hello world");
}
</SCRIPT>
</HEAD>
<BODY>
<INPUT type="button" value="Button" id=button1 name=button1 LANGUAGE=javascript onclick="return button1_onclick()">
</BODY>
</HTML>
Please refer to the following Web site for related debugging articles:
http://msdn.microsoft.com/vinterdev/technical/articles/debug.asp
Additional query words:
Keywords : kbDebug kbVisID600bug kbGrpASP kbScriptDebugger kbIE500
Version : WINDOWS:5,6.0
Platform : WINDOWS
Issue type : kbbug
Last Reviewed: July 21, 1999