[erlang-questions] How to use Pman for looking at process state

Ivan Uemlianin ivan@REDACTED
Tue May 17 12:41:01 CEST 2011


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


-- 
============================================================
Ivan A. Uemlianin
Speech Technology Research and Development

                     ivan@REDACTED
                      www.llaisdy.com
                          llaisdy.wordpress.com
                      www.linkedin.com/in/ivanuemlianin

     "Froh, froh! Wie seine Sonnen, seine Sonnen fliegen"
                      (Schiller, Beethoven)
============================================================



More information about the erlang-questions mailing list