Thread overview
DMD 0.104 release
Oct 22, 2004
Walter
Oct 22, 2004
Charlie
Oct 22, 2004
Sean Kelly
Oct 22, 2004
Walter
Oct 25, 2004
Stewart Gordon
Oct 25, 2004
Stewart Gordon
October 22, 2004
Fixed debug info bug.

http://www.digitalmars.com/d/changelog.html


October 22, 2004
Quick question,

On most of the standard exceptions ( divide by zero , Access violation ) D catches it and die's with the appropriate error message , is it possible to re-throw this , or eliminate it so that debuggers and the like will catch it and we're able to view the debug info ?

Or what is everyones thoughts ?

Charlie

In article <cla6i8$25aa$1@digitaldaemon.com>, Walter says...
>
>Fixed debug info bug.
>
>http://www.digitalmars.com/d/changelog.html
>
>


October 22, 2004
In article <clbdrs$es8$1@digitaldaemon.com>, Charlie says...
>
>Quick question,
>
>On most of the standard exceptions ( divide by zero , Access violation ) D catches it and die's with the appropriate error message , is it possible to re-throw this , or eliminate it so that debuggers and the like will catch it and we're able to view the debug info ?

Yes, though at the moment you have to modify Phobos to do so.  This is actually something I'm currently working on, and Matthew has a proposal on Exceptions in the works as well, so stay tuned.


Sean


October 22, 2004
Right now, the way to do it is to modify internal\dmain2.d and comment out the catch.

"Charlie" <Charlie_member@pathlink.com> wrote in message news:clbdrs$es8$1@digitaldaemon.com...
> Quick question,
>
> On most of the standard exceptions ( divide by zero , Access violation ) D catches it and die's with the appropriate error message , is it possible
to
> re-throw this , or eliminate it so that debuggers and the like will catch
it and
> we're able to view the debug info ?
>
> Or what is everyones thoughts ?
>
> Charlie
>
> In article <cla6i8$25aa$1@digitaldaemon.com>, Walter says...
> >
> >Fixed debug info bug.
> >
> >http://www.digitalmars.com/d/changelog.html
> >
> >
>
>


October 25, 2004
Charlie wrote:
> Quick question,
> 
> On most of the standard exceptions ( divide by zero , Access violation ) D
> catches it and die's with the appropriate error message , is it possible to
> re-throw this , or eliminate it so that debuggers and the like will catch it and
> we're able to view the debug info ?
> 
> Or what is everyones thoughts ?

At least some debuggers are supposed to be able to catch exceptions where and when they're thrown.

Stewart.
October 25, 2004
Walter wrote:

> Fixed debug info bug.
> 
> http://www.digitalmars.com/d/changelog.html

And there was me thinking you had lots of fixes lined up as there had been no updates for a month.  But I see you hadn't even found this....

http://www.digitalmars.com/drn-bin/wwwnews?digitalmars.D.bugs/1850

Stewart.