Skip to content
Go to file
Cannot retrieve contributors at this time
35 lines (19 sloc) 2.08 KB

Exception Trail

Effortlessly understand the root cause of a bug by instantly navigating to the inner-most InnerException, and drill into the exception's callstack and associated data.


Without OzCode, investigating an exception is a dreary task - navigating through a trail of inner exceptions, scrolling through lengthy callstacks, and squinting through the exception’s associated data to try to make sense of the error. With OzCode, all the relevant information about the exception is presented in a handy tool-window. You can navigate through each inner-exception with a super- convenient breadcrumb control, and even launch a Google or StackOverflow search right from within Visual Studio!

Using Exception Trail

In order to run this demo click the Exception Trail button in the demo application.
Note: For this demo make sure that break on exceptions is turned off

Conditional breakpoints button

It may take a few tries, but after a while you should break after an exception was caught:

Exception caught

Open the exception trail by selecting View exception details from the bar or from the quick actions menu (on the side).

Exception details

We can see the exception details summary - there are three inner exceptions and the first exception thrown was an IllegalOrderException. From here we can navigate the inner exceptions easily, as well as search for additional information about the exception type or message through one of the supported providers:

Search for information

Another time-saving feature is the ability to go to where the exception was thrown - quickly finding the root cause of the problem. You can do so either from the Excpetion details dialog or from the exception bar.

Go to where exception was thrown

You will arrive at the exception origin without needing to traverse the exception and its inner exceptions.

Back to Main

You can’t perform that action at this time.