Assert question
Adam D. Ruppe via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Tue Jul 26 05:29:21 PDT 2016
On Tuesday, 26 July 2016 at 12:13:02 UTC, DLearner wrote:
> What is the recommended way of identifying which assert has
> been triggered?
If you compile with -g, run the program in a debugger. It will
tell you.
If you compile and do NOT use -release, the error message
automatically printed by the assert will tell you the line number
on the first line of output.
More information about the Digitalmars-d-learn
mailing list