SOMns icon indicating copy to clipboard operation
SOMns copied to clipboard

Changes to get actor mailbox information

Open ctrlpz opened this issue 5 years ago • 0 comments

  • add three entries in the trace for the send operation entity. Add a symbol id to record the selector of the message. Add a targetActorId to record the receiver actor of the message. Add a source section corresponding to the origin of the send operation. Update the corresponding usages of this method.
  • the targetActorId is needed because in the case of a PROMISE_MSG the target of the send operation is a promise, but we need the information of the target actor of the original message.
  • the source section is already recorded for the dynamic scopes, however, dynamic scopes are created when the message is processed. To show the origin of a message sent in the mailbox, the source section is needed at the point where a message is sent but not yet processed.

ctrlpz avatar Oct 14 '19 11:10 ctrlpz