break on assertion in GDB?
Vlad Levenfeld via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Jun 30 07:23:53 PDT 2014
On Monday, 30 June 2014 at 12:08:31 UTC, Dicebot wrote:
> On Monday, 30 June 2014 at 11:56:27 UTC, Vlad Levenfeld wrote:
>> Is this possible? I find myself having to set breakpoints up
>> the callchain and step through every invocation till I find
>> the one that breaks. This is a really bad way to work, but
>> when I fail an assertion in GDB, it just reports "program
>> terminated."
>
> b _d_assert
> b _d_assert_msg
>
> (out of my memory)
GDB recognizes both of these and sets the breakpoints, but never
actually breaks.
More information about the Digitalmars-d-learn
mailing list