[erlang-bugs] R15B02 : wish list : missing gen_fsm state view in observer application.
Tue Oct 16 12:15:03 CEST 2012
A very simple work-around is to use gen_fsm:sync_send_all_state_event/2 and ask it. You can then return whatever you need. Using this call you don't need to add the event to every state. By staying in the same state it is effectively a no-op.
----- Original Message -----
> From: "Dan Gudmundsson" <>
> Sent: Tuesday, 16 October, 2012 9:15:15 AM
> Subject: Re: [erlang-bugs] R15B02 : wish list : missing gen_fsm state view in observer application.
> I agree, that would be nice..added to the observer wishlist..
> Another tab in process info window (for gen processes) would
> be good.
> A patch will make it happen sooner :-)
> On Mon, Oct 15, 2012 at 10:19 PM, Steve Vinoski <>
> > On Mon, Oct 15, 2012 at 3:51 PM, PAILLEAU Eric
> > <> wrote:
> >> Hello,
> >> not a bug but a really missing feature for observer :
> >> I found no way in interface to get the state (at least) and the
> >> state
> >> data of a gen_fsm process...
> >> For instance information of sys:get_status/1 .
> >> I would be nice to have special informations depending the
> >> behaviour of
> >> processes, in particular gen_fsm...
> > Have you considered supplying your own custom version of
> > gen_fsm:format_status/2 for your fsm?
> > http://www.erlang.org/doc/man/gen_fsm.html#Module:format_status-2
> > --steve
> > _______________________________________________
> > erlang-bugs mailing list
> > http://erlang.org/mailman/listinfo/erlang-bugs
> erlang-bugs mailing list
More information about the erlang-bugs