diff options
author | Raimo Niskanen <[email protected]> | 2018-06-12 15:51:37 +0200 |
---|---|---|
committer | Raimo Niskanen <[email protected]> | 2018-06-12 15:51:37 +0200 |
commit | 052a5e0149dcbc63e9b93003f1351cba86990228 (patch) | |
tree | df379f3de0829d5eb82b193663364a5b2015e9b0 /lib/stdlib | |
parent | 728bc036aa72a83080e933722f8ad409ede69f70 (diff) | |
download | otp-052a5e0149dcbc63e9b93003f1351cba86990228.tar.gz otp-052a5e0149dcbc63e9b93003f1351cba86990228.tar.bz2 otp-052a5e0149dcbc63e9b93003f1351cba86990228.zip |
Show state changes in sys:trace
Diffstat (limited to 'lib/stdlib')
-rw-r--r-- | lib/stdlib/src/gen_statem.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/stdlib/src/gen_statem.erl b/lib/stdlib/src/gen_statem.erl index f7dc0050b3..3959477c21 100644 --- a/lib/stdlib/src/gen_statem.erl +++ b/lib/stdlib/src/gen_statem.erl @@ -1443,13 +1443,13 @@ loop_event_done( [?sys_debug( Debug_0, {S#state.name,State}, - {postpone,Event_0,State}), + {postpone,Event_0,NextState}), Event_0|P_0]; false -> [?sys_debug( Debug_0, {S#state.name,State}, - {consume,Event_0,State})|P_0] + {consume,Event_0,NextState})|P_0] end, {Events_2,P_2,Timers_2} = %% Move all postponed events to queue, |