std library hooks

Manu turkeyman at gmail.com
Sat Apr 14 03:54:20 PDT 2012


On 14 April 2012 03:14, Francois Chabot <francois.chabot.dev at gmail.com>wrote:

> On Friday, 13 April 2012 at 21:29:37 UTC, Walter Bright wrote:
>
>> On 4/13/2012 4:07 AM, Timon Gehr wrote:
>>
>>> http://dlang.org/phobos/core_**exception.html<http://dlang.org/phobos/core_exception.html>
>>> deprecated void setAssertHandler(**errorHandlerType h);
>>>
>>> Why is it deprecated?
>>>
>>
>> Never found a use for it.
>>
>
> All I want, and I can guarantee that this is what Manu wants as well, is
> the ability to squeeze an asm { int 3; } or equivalent so that I can drop
> into my debugger at the point of assertion failure before the stack unwinds.
>

Indeed, but I also want to produce some log output. A dialog box is nice
too, so artists can choose to 'ignore' and programmers can 'debug'.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20120414/41c1b5ce/attachment-0001.html>


More information about the Digitalmars-d mailing list