dbg:p(all, [c]) hangs the shell

Kaiduan Xie <>
Wed Jul 1 20:28:10 CEST 2009

Hi, all,

I would like to trace all calls in all processes, however the erlang
shell hangs after dbg:p(all, [c]). It even does not accept Ctrl-G.

:~$ erl
Erlang (BEAM) emulator version 5.6.5 [source] [async-threads:0] [hipe]

Eshell V5.6.5  (abort with ^G)
1> dbg:tracer().
2> dbg:tpl('_', '_', '_', dbg:fun2ms(fun(_) -> return_trace() end)).
3> dbg:get_tracer().
4> process_info(list_to_pid("<0.34.0>")).
5> dbg:p(list_to_pid("<0.24.0>"), clear).
6> dbg:p(all, [c]).
(<0.33.0>) call lists:map(#Fun<dbg.25.124365820>,[])
(<0.33.0>) returned from lists:map/2 -> []
(<0.33.0>) call dbg:reply(<0.31.0>,{ok,[{,25}]})
(<0.33.0>) returned from dbg:reply/2 -> {dbg,

Any idea on what was wrong?



More information about the erlang-questions mailing list