Robert Clipsham wrote:
On 28/04/10 21:06, Andrei Alexandrescu wrote:

should find a solution within the confines of the compiler.

Catching segfaults on linux is possible, it's hard to do and rather hacky though, this doesn't seem like something that should be included in the unittesting functionality. I guess a seperate process could be spawned for unit testing, and if a segfault occurs a message saying so could be given, but anything more seems excessive, and is the job of a debugger. Doesn't seem right to integrate a full debugger into every app compiled with unit tests.


I agree, although I sympathize with not liking gdb, the solution is not to build a debugger into the compiler, it's build a better debugger.
_______________________________________________
dmd-internals mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/dmd-internals

Reply via email to