www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - DMD 0.104 release

reply "Walter" <newshound digitalmars.com> writes:
Fixed debug info bug.

http://www.digitalmars.com/d/changelog.html
Oct 21 2004
next sibling parent reply Charlie <Charlie_member pathlink.com> writes:
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
Oct 22 2004
next sibling parent Sean Kelly <sean f4.ca> writes:
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
Oct 22 2004
prev sibling next sibling parent "Walter" <newshound digitalmars.com> writes:
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
Oct 22 2004
prev sibling parent Stewart Gordon <smjg_1998 yahoo.com> writes:
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.
Oct 25 2004
prev sibling parent Stewart Gordon <smjg_1998 yahoo.com> writes:
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.
Oct 25 2004