VS2008 Unable to set break point in javascript in .aspx

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.
 
R

Rick

I finally just moved javascript to .js file instead of imbedding in .aspx
file and everything works fine.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top