Re: stopping on rethrows

Tech-Archive recommends: Fix windows errors by optimizing your registry




I would like to break on every exception (when thrown) but one.
I added this exception to the exceptions list and marked "continue" but I'm
still stopping when it is rethrown ("catch (myex) { throw; }").

How can I make VC continue without stopping in this situation?


In Exceptions dialog, add a new C++ exception whose name is "[rethrow]"
(square brackets are required), and configure it not to break when thrown.

Regards,
Oleg
[VC++ MVP http://www.debuginfo.com/]


.