On 2018-05-21 17:24:12 +0000, Steven Schveighoffer said:
I'm not 100% sure but I expect:
scope(failure)
someCode();
putting a breakpoint on someCode should work.
When calling a function an then setting the breakpoint there, like in
someCode() yes, that should work.
I used code like this:
scope(failure) {
... several lines of code
}
And for this it seems (maybe I need to check in more detail) that in
MSVC, I can set a breakpoint, but the breakpoint is not triggered when
an exception is thrown.
--
Robert M. Münch
http://www.saphirion.com
smarter | better | faster