diff options
author | Dan Gudmundsson <[email protected]> | 2011-11-24 12:54:13 +0100 |
---|---|---|
committer | Dan Gudmundsson <[email protected]> | 2011-11-24 12:54:13 +0100 |
commit | d7eaea0d44fac1f0c67d67c188d6a635b0a4da4c (patch) | |
tree | 29acee8c984b45dc674bacc5191b5d6724bf4f55 /lib/observer/src/observer_wx.erl | |
parent | fcda85751547c4dbcea92f1142186ec9d571ba82 (diff) | |
download | otp-d7eaea0d44fac1f0c67d67c188d6a635b0a4da4c.tar.gz otp-d7eaea0d44fac1f0c67d67c188d6a635b0a4da4c.tar.bz2 otp-d7eaea0d44fac1f0c67d67c188d6a635b0a4da4c.zip |
[observer] Add more trace functionality
Add logging output options, to file, shell or log-window.
Add remove/change process options, trace patterns via right-click.
Show traced nodes.
Add possibility to add named processes, which will be traced on all nodes.
Add menu to log window
Diffstat (limited to 'lib/observer/src/observer_wx.erl')
-rw-r--r-- | lib/observer/src/observer_wx.erl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/observer/src/observer_wx.erl b/lib/observer/src/observer_wx.erl index f9dec1ab1b..65380a49b0 100644 --- a/lib/observer/src/observer_wx.erl +++ b/lib/observer/src/observer_wx.erl @@ -302,6 +302,10 @@ handle_info({nodedown, Node}, create_txt_dialog(Frame, Msg, "Node down", ?wxICON_EXCLAMATION), {noreply, State3}; +handle_info({'EXIT', _Pid, _Reason}, State) -> + io:format("Child crashed exiting: ~p ~p~n", [_Pid,_Reason]), + {stop, normal, State}; + handle_info(_Info, State) -> {noreply, State}. |