Function information

Lionello Lunesu lio at lunesu.remove.com
Sun Jun 25 23:27:42 PDT 2006


Frank Benoit wrote:
> I think, no.
> This falls in the issue 'reflection' which is not supported with D. I
> hope it will come.

Perhaps s/he means a stack trace? That's already possible in D, although 
I don't know how. But there's some code somewhere that dumps a back 
trace inside Phobos' (unhandled-) exception handler.

I've also been looking at the StackWalker project on CodeProject. It 
uses Windows' debug helper functions and chances are it works with DMD's 
debug info. I suppose that back trace patch for Phobos uses the same OS 
functions.

L.



More information about the Digitalmars-d-learn mailing list