Geeks With Blogs

News Awarded Microsoft MVP C#.NET - 2007, 2008 and 2009


I am born in Bangladesh and currently live in Melbourne, Australia. I am a Microsoft Certified Application Developer MCAD Chartered Member (C# .Net)and born in Bangladesh.
I am founder and Chief Executive Officer of
Simplexhub, a highly experienced software development company based in Melbourne Australia and Dhaka, Bangladesh. Co-founder and core developer of Pageflakes www.pageflakes.com.
Simplexhub, is on its mission to build a smart virtual community in Bangladesh and recently launched beta realestatebazaar.com.bd an ASP.NET MVC application written in C#.NET.


Some of My Articles
Flexible and Plugin based .Net Application..
Mass Emailing Functionality with C#, .NET 2.0, and Microsoft® SQL Server 2005 Service Broker'
Write your own Code Generator or Template Engine in .NET
Shahed Khan blog

Dan Walhin made this good video tutorial to show us steps needed to debug client side script :

Video : Debugging ASP.net Ajax Application with Visual Studio 2005

Basically, The following steps need to be performed

Step1: Need to tweak IE to enable client script debugging :
Go to Tools > Internet Options > Advanced and uncheck both "Disable script debugging (Internet Explorer)" and "Disable script debugging (Other)" .

Step2:
Then in your client code where you want the breakpoint write debug.fail("Something")

Microsoft AJAX method to launch debugging, with this message "There is no source code available for the current location",

Step3:
Please use the Script Explorer window (Debug > Windows > Script Explorer) to get a list of all loaded Js scripts

[Note: if you can't find Script Explorer window check this in VS2005( Tools > Customize>Go to Commands Tab> Choose Debug from the left listbox> You will see Script Explorer on the right listbox> Drag the ScriptExplorer to your desired menubar)

Step4:
then you can select any one of the loaded js scrips, debug and step-in your client code and also into the AJAX Framework!

Posted on Sunday, January 14, 2007 11:49 PM | Back to top


Comments on this post: Asp.Net Ajax Debugging

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © Shahed Khan | Powered by: GeeksWithBlogs.net