How to break gdb on D exception ?

Dmitri via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Oct 2 02:15:11 PDT 2015


On Friday, 2 October 2015 at 04:50:59 UTC, BBasile wrote:
> On Friday, 2 October 2015 at 04:46:51 UTC, BBasile wrote:
>> On Friday, 2 October 2015 at 04:24:11 UTC, Adam D. Ruppe wrote:
>>> On Friday, 2 October 2015 at 03:58:45 UTC, BBasile wrote:
>>>> none of the following GB commands work:
>>>
>>> give
>>>
>>> break d_throw
>>>
>>> or maybe `break d_throwc` a try
>>
>> unfortunately it doesn't work, i get
>>
>> ---
>> (gdb) Function "d_throw"/"d_throwc" not defined.
>
> it was almost that actually,
> 'break _d_throwc

Or you could break on a specific exception class's constructor.


More information about the Digitalmars-d-learn mailing list