|
Archives
D Programming
DD.gnu digitalmars.D digitalmars.D.bugs digitalmars.D.dtl digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript |
D - How is a failed assertion reported?
Different applications and environments want and need different behavior out of assert() failures. Under Win32, for example, if a DirectDraw application owns the frame buffer, it may not be possible to put up an "assertion failed" message box. Will D provide an application-overridable report-assertion-failed hook? -RB Nov 16 2001
Assert fails throw an exception, which you can catch and deal with as required. "Russell Borogove" <kaleja estarcion.com> wrote in message news:3BF595AC.482BF097 estarcion.com...Different applications and environments want and need different behavior out of assert() failures. Under Win32, for example, if a DirectDraw application owns the frame buffer, it may not be possible to put up an "assertion failed" message box. Will D provide an application-overridable report-assertion-failed hook? -RB Nov 16 2001
Walter wrote:Assert fails throw an exception, which you can catch and deal with as required. Nov 17 2001
"Russell Borogove" <kaleja estarcion.com> wrote in message news:3BF6D873.278C2BEC estarcion.com...Walter wrote:Assert fails throw an exception, which you can catch and deal with as required. Nov 17 2001
|