Microsoft KB Archive/191273

= BUG: Error "Source Code Is Not Available for the Current Statement" =

Article ID: 191273

Article Last Modified on 3/7/2005

-

APPLIES TO


 * Microsoft Visual InterDev 6.0 Standard Edition

-



This article was previously published under Q191273



SYMPTOMS
When you run an Active Server Pages (ASP) page with Step Into, a stop or debugger statement, or breakpoints under the debugger, you may receive the following error message:

Source code is not available for the current statement



CAUSE
The behavior is caused by attempting to have the debugger break on a line that is non-procedural script within a script tag (instead of within a <% %>). The break can be caused by an error, a stop or debugger statement, or by a breakpoint on that line.



RESOLUTION
To resolve this problem, place the script within inline script tags.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available.



Steps to Reproduce Behavior
 Create a new Web project.  Add an ASP page with the following code:  i = 10   Set the project to auto-enable debugging. Set a breakpoint on the "i=10" line in the JScript block. Press F5.</li></ol>

The debugger attaches and the following error appears:

Source code is not available for the current statement

Keywords: kbbug kbide kbdebug kbpending KB191273

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.