diff --git a/lib/x_trace/io_server.ex b/lib/x_trace/io_server.ex index 5dd77e0..128e43e 100644 --- a/lib/x_trace/io_server.ex +++ b/lib/x_trace/io_server.ex @@ -22,6 +22,7 @@ defmodule XTrace.IoServer do {:put_chars, :unicode, m, f, a} -> put_chars(m, f, a) end + IO.puts(msg) Phoenix.PubSub.broadcast(XTrace.PubSub, @topic, {:io_stream, msg}) send(from, {:io_reply, reply_as, :ok}) {:noreply, state} diff --git a/lib/x_trace_web/controllers/trace_live.ex b/lib/x_trace_web/controllers/trace_live.ex index 14b0fed..a031a03 100644 --- a/lib/x_trace_web/controllers/trace_live.ex +++ b/lib/x_trace_web/controllers/trace_live.ex @@ -531,7 +531,7 @@ defmodule XTraceWeb.TraceLive do io_server = IoServer.pid() Process.group_leader(self(), io_server) ensure_loaded(t_specs) - IoServer.puts("Extrace.calls(#{inspect(t_specs)}, #{inspect(max)}, #{inspect(options)}") + IoServer.puts("Extrace.calls(#{inspect(t_specs)}, #{inspect(max)}, #{inspect(options)})") Extrace.calls(t_specs, max, [{:io_server, io_server} | options]) |> format_calls_return() @@ -572,7 +572,7 @@ defmodule XTraceWeb.TraceLive do ensure_loaded(node, t_specs) - IoServer.puts("Extrace.calls(#{inspect(t_specs)}, #{inspect(max)}, #{inspect(options)}") + IoServer.puts("Extrace.calls(#{inspect(t_specs)}, #{inspect(max)}, #{inspect(options)})") call(node, XTrace.Executor, :calls, [t_specs, max, options, io_server]) |> format_calls_return() diff --git a/mix.exs b/mix.exs index 7305355..ba3b348 100644 --- a/mix.exs +++ b/mix.exs @@ -6,7 +6,7 @@ defmodule XTrace.MixProject do def project do [ app: @app, - version: "0.1.2", + version: "0.1.3", elixir: "~> 1.14", elixirc_paths: elixirc_paths(Mix.env()), start_permanent: Mix.env() == :prod,