PageMethods and Firebug


 

Last night I was debugging an error in a Virtual Earth javascript library about PageMethods, I doubled checked everything and my method was decorated correctly, it was public and static….still no help IE kept giving me an error.  It turned out the error was extremely misleading.

I downloaded FireFox installed Firebug into it and browsed to my page with the error and presto, it turned out a semi-colon was missing inside another javascript snippet….took all of 2 seconds.

About wesmacdonald

Wes MacDonald is a Visual Studio ALM MVP, PSD, MCT and a Principal Consultant for LIKE 10 INC., a SharePoint Server, Visual Studio and Team Foundation Server Consulting Firm providing premium support and guidance services.

No comments yet... Be the first to leave a reply!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: