Firebug rocks!

Here's a tip I'd like to share for those people out there, like
myself, working in ASP.NET AJAX.

You may already be aware of the console.debug() and other console.*()
methods for display data to the Javascript console window. Be aware
the ASP.NET/AJAX framework provides also provides you with the Sys
object, specifically for debugging the Sys.Debug.trace() method is a
portable way to console window in Firebug and in Internet Explorer
using the Developer Helper tool provided by Nikhil at mikhil.net

Example

Sys.Debug.trace("Hello world");
// is the same as
console.debug("Hello world");

Also notable, is the Sys.Debug.traceDump() method for display complex
objects in the console.

Thanks for the great tools from the Firebug gang!

Frank Koenen

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Firebug" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/firebug?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to