diff options
author | Siri Hansen <[email protected]> | 2016-05-12 15:40:32 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2016-05-20 09:40:56 +0200 |
commit | ebd440bfc9eb685606250a82cae352f1ee37dac6 (patch) | |
tree | dcab06a86f1d83b91c8bad145c992c002471882b /lib/observer/src/observer_trace_wx.erl | |
parent | 705011b8a223630d9800de9bd4d5cfd0b5986879 (diff) | |
download | otp-ebd440bfc9eb685606250a82cae352f1ee37dac6.tar.gz otp-ebd440bfc9eb685606250a82cae352f1ee37dac6.tar.bz2 otp-ebd440bfc9eb685606250a82cae352f1ee37dac6.zip |
[observer] Allow more trace flags on procs/ports from GUI
Diffstat (limited to 'lib/observer/src/observer_trace_wx.erl')
-rw-r--r-- | lib/observer/src/observer_trace_wx.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/observer/src/observer_trace_wx.erl b/lib/observer/src/observer_trace_wx.erl index f104f5bb19..7df599c602 100644 --- a/lib/observer/src/observer_trace_wx.erl +++ b/lib/observer/src/observer_trace_wx.erl @@ -1023,7 +1023,8 @@ dbg_flag(proc,on_link) -> sol; dbg_flag(proc,on_first_spawn) -> sofs; dbg_flag(proc,on_first_link) -> sofl; dbg_flag(proc,events) -> p; -dbg_flag(port,events) -> ports. +dbg_flag(port,events) -> ports; +dbg_flag(_,Flag) -> Flag. textformat(Trace) when element(1, Trace) == trace_ts, tuple_size(Trace) >= 4 -> format_trace(Trace, tuple_size(Trace)-1, element(tuple_size(Trace),Trace)); |