diff options
author | Dan Gudmundsson <[email protected]> | 2011-11-30 16:31:45 +0100 |
---|---|---|
committer | Dan Gudmundsson <[email protected]> | 2011-12-02 17:07:24 +0100 |
commit | 6bbe0512b1686f06489893479ae1d14ef15d004a (patch) | |
tree | 009e16f0debb9dd2aa8532a3daa5e9705df2c343 /lib/observer/src/observer_trace_wx.erl | |
parent | 69445197463ee031864b70f2b5618013461b2df0 (diff) | |
download | otp-6bbe0512b1686f06489893479ae1d14ef15d004a.tar.gz otp-6bbe0512b1686f06489893479ae1d14ef15d004a.tar.bz2 otp-6bbe0512b1686f06489893479ae1d14ef15d004a.zip |
[observer] Added an application viewer
Diffstat (limited to 'lib/observer/src/observer_trace_wx.erl')
-rw-r--r-- | lib/observer/src/observer_trace_wx.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/observer/src/observer_trace_wx.erl b/lib/observer/src/observer_trace_wx.erl index ef46030cc7..d0b6a1e063 100644 --- a/lib/observer/src/observer_trace_wx.erl +++ b/lib/observer/src/observer_trace_wx.erl @@ -610,7 +610,7 @@ ttb_output_args(Parent, Opts) -> ToWindow = proplists:get_value(window, Opts, true), ToShell = proplists:get_value(shell, Opts, false), ToFile = proplists:get_value(file, Opts, false), - ToWindow orelse ToShell orelse ToShell orelse + ToWindow orelse ToShell orelse ToFile orelse throw({error, "No output of trace"}), {LogWin,Text} = create_logwindow(Parent, ToWindow), Write = output_fun(Text, ToShell), |