Thoughts about D
Jacob Carlborg
doob at me.com
Sun Dec 3 08:42:49 UTC 2017
On 2017-12-03 08:29, Richard Delorme wrote:
> +1
> To me, the current D assert is useless, and I prefer to use a C-like
> equivalent, that "crash" the program without unwinding the stack. Then I
> can inspect the cause of the crash on a debugger, with access to the
> current context (variable contents, etc.), is it from a (core file) or
> by running the program on the debugger.
Ideally druntime should identify if it's running inside a debugger and
adapt accordingly.
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list