Since the application will probably have to stop, might as well use the GC:

in GC:

if (gcx.running) {
    gcx.running = false;
    onInvalidMemoryOperationError();
}

in core.exception:

throw new InvalidMemoryOperationError();

And there you go, a beautiful stack trace. I now have a pinpoint of the error within 100k++ LOC. Thank you.

Why D? Why fail with a one line message and no debug tools? Why??

Reply via email to