Thread overview | ||||||||
---|---|---|---|---|---|---|---|---|
|
October 22, 2004 DMD 0.104 release | ||||
---|---|---|---|---|
| ||||
Fixed debug info bug. http://www.digitalmars.com/d/changelog.html |
October 22, 2004 Re: DMD 0.104 release | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter | 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 Re: DMD 0.104 release | ||||
---|---|---|---|---|
| ||||
Posted in reply to Charlie | 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 Re: DMD 0.104 release | ||||
---|---|---|---|---|
| ||||
Posted in reply to Charlie | 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 Re: DMD 0.104 release | ||||
---|---|---|---|---|
| ||||
Posted in reply to Charlie | 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 Re: DMD 0.104 release | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter | 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. |
Copyright © 1999-2021 by the D Language Foundation