I'm using Pman to look at a running erlang application. Many of the
processes are running functions in receive loops like the following:
myFunc(State) ->
receive
% some clauses defining NewState
end,
myFunc(NewState).
Tracing a process allows me to see the messages received by and sent
from the process. Is there any way I can see the value of State? If
not, is there another to see the value of process variables?
With thanks and best wishes
Ivan
--
============================================================
Ivan A. Uemlianin
Speech Technology Research and Development
iv...@llaisdy.com
www.llaisdy.com
llaisdy.wordpress.com
www.linkedin.com/in/ivanuemlianin
"Froh, froh! Wie seine Sonnen, seine Sonnen fliegen"
(Schiller, Beethoven)
============================================================
_______________________________________________
erlang-questions mailing list
erlang-q...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions
If there is no way to use pman for this I recommend dbg. Trace on
myFunc.
bengt
On Tue, 2011-05-17 at 12:41 +0200, Ivan Uemlianin wrote:
> Dear All
>
> I'm using Pman to look at a running erlang application. Many of the
> processes are running functions in receive loops like the following:
>
> myFunc(State) ->
> receive
> % some clauses defining NewState
> end,
> myFunc(NewState).
>
> Tracing a process allows me to see the messages received by and sent
> from the process. Is there any way I can see the value of State? If
> not, is there another to see the value of process variables?
>
> With thanks and best wishes
>
> Ivan
>
>
_______________________________________________