Putting a breakpoint on the first line of a named function should be working in VS 2005. This seems to be the example you provided.
Putting a breakpoint, however, on the first line of an anonymous function does not work in VS 2005. This includes functions of the type: var foo = function() ...
Unfortunately this a bug with jscript.dll that ships with windows and we were unable to address this just yet in the Visual Studio "Orcas" CTP either. I'm working on figuring out a way around this but I can't promise anything just yet. =)
Jeff King
Program Manager
ASP.net
Marked as answer by jbresler on Mar 06, 2007 03:23 AM
Jeff.aspx
Participant
1412 Points
253 Posts
Microsoft
Re: Javascript Debugging
Mar 04, 2007 12:40 AM|LINK
Putting a breakpoint on the first line of a named function should be working in VS 2005. This seems to be the example you provided.
Putting a breakpoint, however, on the first line of an anonymous function does not work in VS 2005. This includes functions of the type: var foo = function() ...
Unfortunately this a bug with jscript.dll that ships with windows and we were unable to address this just yet in the Visual Studio "Orcas" CTP either. I'm working on figuring out a way around this but I can't promise anything just yet. =)
Program Manager
ASP.net