How do I make the debugger break when an exception is thrown in D?

WebFreak001 at
Tue May 15 10:56:48 UTC 2018

On Tuesday, 15 May 2018 at 10:50:15 UTC, Ethan Scott wrote:
> I constantly keep getting this error.
> Please help.

you can override the default exception handling to skip the 
global try/catch block and then GDB will halt instead of letting 
it run.

You can also add a breakpoint in a specific exception constructor 
or throw clause (for example find out line and column by browsing 
source) or check this forum post:

More information about the Digitalmars-d-learn mailing list