Throwable.TraceInfo

Benjamin Thaut via Digitalmars-d digitalmars-d at puremagic.com
Wed Jan 28 08:33:35 PST 2015


On Wednesday, 28 January 2015 at 15:20:57 UTC, david wrote:
>
> We're exclusively on Linux.
> And no - I don't want the strings during runtime.
> I understand generating strings can be time consuming.
> I'm willing to offload this to offline processing - during 
> runtime, I just want access to the calltrace - i.e.    
> void*[NUM_FRAMES].
> I feel like I need to resort to code duplication from druntime 
> :(

Yes, you will have to write your own TraceHandler to get this 
easily done. If you want to do a PR for druntime it will take 
some time until it will go through. And if a PR is done it would 
be neccessary to do it in a way so that it works on all 
plattforms.


More information about the Digitalmars-d mailing list