Re: aspx call stack breakpoint incorrect

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I'm using vb.
An example page is below:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>test</title>
<script language=javascript>
function initialize(){
var it
it=6
}
</script>
</head>
<body onload='initialize()'>
<%response.write("hello")
%>
</body>
</html>

If I put the break point on the "it=6" it stops below that when run, and the
bracketed <%%> script is still shown. Any ideas?

Thanks



"Bryan Phillips" <bphillips@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:eAb3P69pHHA.4388@xxxxxxxxxxxxxxxxxxxxxxx
Is the server side code written in C# and does it include a try/catch
block? If so, the problem is a bug in the C# compiler that generates
faulty debug symbols. (The debugger basically shows you a different
location that the actual location of the current instruction.)

--
Bryan Phillips
MCT, MCSD, MCDBA, MCSE
Blog: http://bphillips76.spaces.live.com
Web Site: http://www.composablesystems.net



"ebbflow" <ebbflow@xxxxxxxxxxxxxxxxx> wrote in message
news:#d#pli6pHHA.4544@xxxxxxxxxxxxxxxxxxxx:

Hi:

I have a problem in VS 2003 that used to not exist.
I am debugging an asp.net application. In the past when I ran into a
javascript error, which originated from a javascript method call within
my
aspx page, I could use the call stack to find the point on the aspx page
where the call originated. The aspx page was fully rendered (as the user
would see it) with all of the server side script processed. Now when I
click on the call stack, I am directed to a position on the page of the
unprocessed aspx page (with server side script not processed). The point
is
indicated, but it doesn't lie on the javascript method, because it sends
me
to the unprocessed page. All other call stack debugging is working, e.g.,
when the method goes through a .js page.

Why am I no longer seeing the processed aspx page when I use the call
stack
or set a breakpoint on the javascript on an aspx page?


Thanks in advance.



.



Relevant Pages

  • Re: aspx call stack breakpoint incorrect
    ... bracketed script is still shown. ... aspx page, I could use the call stack to find the point on the aspx ... indicated, but it doesn't lie on the javascript method, because it ...
    (microsoft.public.vstudio.development)
  • Re: aspx call stack breakpoint incorrect
    ... bracketed script is still shown. ... >> aspx page, I could use the call stack to find the point on the aspx page ... >> indicated, but it doesn't lie on the javascript method, because it sends ...
    (microsoft.public.vstudio.development)
  • Re: aspx call stack breakpoint incorrect
    ... bracketed script is still shown. ... aspx page, I could use the call stack to find the point on the aspx ... indicated, but it doesn't lie on the javascript method, because it ...
    (microsoft.public.vstudio.development)
  • Re: aspx call stack breakpoint incorrect
    ... Is the server side code written in C# and does it include a try/catch block? ... aspx page, I could use the call stack to find the point on the aspx page ... indicated, but it doesn't lie on the javascript method, because it sends me ...
    (microsoft.public.vstudio.development)
  • Re: Questions about GetRef() and ASP, etc.
    ... > stack does NOT extend into a called procedure's scope. ... > script requires catch-all error handling, however, it is often best to set ... > unexposed functions, mix VBS and JS, etc. WSCs are fairly well documented ... > The Err object appears to be misdocumented in the MS VBS documentation. ...
    (microsoft.public.scripting.vbscript)