[erlang-questions] extreme newbie debugging question: stacks vs. messages

Raoul Duke raould@REDACTED
Tue May 13 01:35:30 CEST 2008


hi,

in a shared-mutable-state-concurrency program i can see thread stacks
in the debugger. that can be useful to see the history of changes. i
am guessing that stacks aren't quite the same in a message passing
world; are there standard tricks to watching a parallel/concurrent
program such that you can see some history with associated actor ids?
i guess at the very least one could log (message name, sender id),
maybe with all the values of variables in the current tail-call to the
event handler?

[i am in the midst of searching about this e.g. i skimmed
www.erlang.se/workshop/2004/cronqvist.pdf yet, but am trying to get
around to really reading it.]

thanks.



More information about the erlang-questions mailing list