When creating and analyzing trace logs with the information TraceObjects supply, it is possible to identify the caller as its stackframe information is present in TraceObjects for trace invocations.
Unfortunately, in the case that a message gets dispatched using “start” or in the case of a reply keyword statement, the standard means of getting to the caller’s stackframe is not possible, as NULL gets returned for it.
The enclosed patch implements a solution that is regarded to address the expressed worries, in that it attempts to be as safe as possible and uses a StringTable to store the caller’s stackframe information only in the situation where a new activity gets spawned. TraceObject will then be able to supply the caller’s stackframe information safely using the StringTable representation.
The enclosed patch will also be briefly described on the developer mailing list with a link to this RFE.
Anonymous
[r12881]
Related
Commit: [r12881]