VS2008 Unable to set break point in javascript in .aspx

  • Thread starter Thread starter Rick
  • Start date Start date
R

Rick

Microsoft Visual Studio 2008
Version 9.0.30729.1 SP
Microsoft .NET Framework
Version 3.5 SP1

I am using MVC Beta and I am trying to set a break point in javascript code
that is contained in .aspx file. Setting a break point in the .aspx file is
not being translated into the dynamic version of the file that is seen in
Visual Studio under Script Documents / Windows Internet Explorer list of
loaded documents. I tried to set the break then in the dynamic version of the
..aspx file and it indicates that it is not loaded, although it is.

I do have the the IE option setting to be able to debug scripts. I have
looked at Scott Gu's blog entry
http://weblogs.asp.net/scottgu/archive/2007/07/19/vs-2008-javascript-debugging.aspx
and believe that this should work. I also have verified that KB946581 has
been installed.

Any idea what I am missing? I am running on Vista as administrator. The
..aspx file is called via a controller in the MVC Web application.
 
I finally just moved javascript to .js file instead of imbedding in .aspx
file and everything works fine.
 
Back
Top