Contents tagged with Debugging
-
How to catch and re-throw exceptions
There are two ways to catch and re-throw an exception, below the two code snippets:
-
How to get detailed connection logging info in .NET
Sometimes when you connect to an external host and you get for example the error “The request was aborted: Could not create SSL/TLS secure channel”, you want to have more detailed info about what causes the error.
-
Ajax.NET debugging
Most people use alert() to debug their JavaScript, but the Microsoft Ajax Library has a better alterative Sys.Debug. Sys.Debug has some methods for logging messages to the browser console. Like this: