massemanet / eper

Erlang performance and debugging tools
MIT License
437 stars 128 forks source link

Handle simple atoms (registered names) as send targets #33

Closed macintux closed 9 years ago

macintux commented 9 years ago

When tracing send from all processes I ran into this failure:

=ERROR REPORT==== 6-Mar-2015::08:39:45 ===
Error in process <0.125.0> on node 'yzremote@Thunder' with exit value: {function_clause,[{redbug,to_str,[global_name_server],[{file,"src/redbug.erl"},{line,398}]},{redbug,'-mk_outer/1-fun-3-',5,[{file,"src/redbug.erl"},{line,391}]},{redbug,'-wrap_print_fun/1-fun-0-',3,[{file,"src/redbug.erl"},{line...

to_str can be called with an atom such as global_name_server. Handle that case (or any other oddballs).

massemanet commented 9 years ago

nice fix.