Labels

Tuesday, April 29, 2008

JavaScript Debugging - Orcas New Features

Hi,

This blog post summarizes the new features of ASP.Net 3.5 and VS 2008 IDE.

Below are the new features been introduced.

§ VS 2008 Multi-Targeting Support

§ VS 2008 JavaScript Intellisense

§ VS 2008 JavaScript Debugging

§ VS 2008 Code Editing Improvements

§ VS 2008 Nested Master Page Support - - Nothing to add. Read Post.

§ VS 2008 Web Designer and CSS Improvements

§ VS 2008 Vertical Split View Support - Nothing to add. Read Post.

§ VS 2008 ASP.NET AJAX Control Extenders

§ ASP.NET ListView Control (Part 1: Building a Product Listing Page with Pure CSS)

§ ASP.NET AJAX in .NET 3.5 and VS 2008

Before we go further let’s have a quick view.

Compatibility - From VS 2005 to VS 2008 and .NET Framework 2.0 to 3.5?

Though .NET Framework 3.5 is a super compatible upgrade from .NET 2.0, it does not require you to change any code in order to target the new framework version. Only non-breaking modifications to existing .NET assemblies have been made in the .NET 3.5 release, and wherever possible added new features in separate assemblies to minimize the chance of breaking changes.

Also no project model or build changes have been made with VS 2008. Both the "web site" and "web application project" models will be fully supported going forward.

JavaScript Debugging

Here I have been putting major points on JavaScript Intellisense. For other details, how it works please folow the below link.

Reference: http://weblogs.asp.net/scottgu/archive/2007/06/21/vs-2008-javascript-intellisense.aspx

New features-

§ Setting JavaScript breakpoint

§ Script Document Navigation – Refer Post

§ Richer Debug Watch/Locals and Visualizer Support

JavaScript Breakpoint

· Enables to set client-side JavaScript breakpoints directly within your server-side .aspx and .master source files.

· When we add/remove/update the breakpoint locations in the running HTML document, VS 2008 is also now smart enough to perform the reverse mapping and update the breakpoint in the original .aspx or .master source file on the server.

· Orcas use a Single Debugger to step through both the server-side and client-side code in a single debug session (which is extremely useful for any AJAX heavy application).

· Any JavaScript breakpoints you set will also now by default be saved by VS 2008 when you close the project/solution. When you open up the project again, the previous locations you set the breakpoints on will still have them enabled.

Richer Debug Watch/Locals and Visualizer Support

It was been supported in earliar version as well, however When you inspect a variable within the debugger using VS 2008, you'll find Much More Detailed Object Information is now available.

Hope this helps.

Thanks & Regards,

Arun Manglick || Tech Lead

No comments:

Post a Comment