January 28, 2015 Re: Throwable.TraceInfo | ||||
---|---|---|---|---|
| ||||
Posted in reply to david | On 2015-01-28 15:09, david wrote: > This lovely class, has a private member > void*[MAXFRAMES] callstack > I want to access this member. However I can't. Taking the address of the variable should bypass the protection. Or using .tupleof. -- /Jacob Carlborg |
January 28, 2015 Re: Throwable.TraceInfo | ||||
---|---|---|---|---|
| ||||
Posted in reply to david Attachments: | On Wed, 28 Jan 2015 15:20:56 +0000, 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 :(
there is nothing wrong in such code duplication.
|
Copyright © 1999-2021 by the D Language Foundation