Obtaining the current state of the gen_fsm
Fri Apr 22 10:24:58 CEST 2005
How would you suggest debugging a gen_fsm as a whole?
I understand that I can invoke each state fun and see what the return
value is but this seems suboptimal at times.
Is there a way to obtain the internal state of the FSM? Then I can have a
general all-FSM event to return internal state /used for debugging
purposes/ and my tests could check the current state of the FSM before
the test and after.
More information about the erlang-questions