break on assertion in GDB?

Dicebot via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Jun 30 05:08:30 PDT 2014


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)


More information about the Digitalmars-d-learn mailing list