dumpbin -exports mstagsdb.dll

There is a special trick in Visual studio that you can enable only in when VS is running debug mode.

in menu Debug->Exceptions, here set all exceptions to stop always.

Know when an exception occurs even between a Try … catch, the debugger will break on the line