aboutsummaryrefslogtreecommitdiffstats
path: root/lib/observer/src
diff options
context:
space:
mode:
authorAndrzej Telezynski <[email protected]>2011-08-21 20:06:02 +0200
committerHenrik Nord <[email protected]>2011-08-30 15:22:20 +0200
commit224f4324615b05e78b0a5cd3d26f8392b749086c (patch)
treed43e04d1d2fcbcb8955ebd69b650765dfa76c2de /lib/observer/src
parent584eec8da18fe5d33e8d06f12e5bc9367147a252 (diff)
downloadotp-224f4324615b05e78b0a5cd3d26f8392b749086c.tar.gz
otp-224f4324615b05e78b0a5cd3d26f8392b749086c.tar.bz2
otp-224f4324615b05e78b0a5cd3d26f8392b749086c.zip
Removed unused option to send realtime trace to erlide.
Diffstat (limited to 'lib/observer/src')
-rw-r--r--lib/observer/src/ttb.erl10
1 files changed, 2 insertions, 8 deletions
diff --git a/lib/observer/src/ttb.erl b/lib/observer/src/ttb.erl
index 5397799227..a0fbe0d60e 100644
--- a/lib/observer/src/ttb.erl
+++ b/lib/observer/src/ttb.erl
@@ -1274,14 +1274,8 @@ ip_to_file(Trace,{Port, ShellOutput}) ->
show_trace(Trace, true) ->
dbg:dhandler(Trace, standard_io);
-show_trace(_Trace, false) ->
- ok;
-show_trace(Trace, Pid) when is_pid(Pid) ->
- %%This is only to enable erlide to build trace views in real time.
- %%Sending trace data to handlers in real time has however
- %%to be considered an interesting feature and should be
- %%implemented in a generic way in the future
- Pid ! {trace, Trace}.
+show_trace(_, _) ->
+ ok.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% For debugging