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

2018-05-15 Thread WebFreak001 via Digitalmars-d-learn
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.

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

2018-05-15 Thread Basile B. via Digitalmars-d-learn
On Tuesday, 15 May 2018 at 10:50:15 UTC, Ethan Scott wrote: I constantly keep getting this error. Please help. an example: $ gdb myprog $ break _d_throwc $ break _d_throwdwarf $ run then when it breaks, $ bt because the breaks are always a bit deeper than the interesting stuff. Baz.

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

2018-05-15 Thread Ethan Scott via Digitalmars-d-learn
I constantly keep getting this error. Please help.