Adplus.config - <AllExceptions> vs <Exception Code="*">

220 Views Asked by At

I'm new to WinDbg and ADPlus, and have a pretty basic question. The documentation in ADPlus.doc talks about an <AllExceptions> section. But I have seen example adplus.config files that use <Exception Code="*">.

What is the difference between these two? Do they do the same thing? Does it matter which one I use?

1

There are 1 best solutions below

2
Kjell Gunnar On

When using Exception Code you can specify different action for different exceptions. This is the most common usage in a debug situation.

The AllExceptions is handy if you want to have the same action for all types of exception. However the Log is probably the only sensible action here.

I have never tried to mix both in the same config file !