anchor.diff:  %%--------------------------------------------------------------------
   handle_event({out, _Frame, _P}, State) ->
       {ok, State};
  -handle_event({in, _Frame, P = #eth{}}, S = #state{dir=Dir}) ->
  +handle_event({in, Frame, P = #eth{}}, S = #state{dir=Dir}) ->
       try
           enet_codec:encode(eth, P)
       catch
  
positive.code:                                      [H, M, Seconds, Type, Exception, P,
                                        fmt_call(Mod, Fn, Args),
                                        Stack]),
              dump(Type, Exception, Mod, Fn, Args, Stack, Dir)
      end,
      {ok, S};
  handle_event(Event, State) ->
      error_logger:warning_msg("Unexpected event ~p", [Event]),
      {ok, State}.
  
  dump(Type, Exception, M, F, A, Stack, Dir) ->
      FileName = io_lib:format("~p:~p_~p-~p:~p.dmp", [M, F, length(A), Type, Exception]),
      FullName = filename:join(Dir, FileName),
      file:write_file(FullName,
                      iolist_to_binary(io_lib:format("%% ~p:~p -- ~w~n"
                                                     "~s.~n",
                                                     [Type, Exception, Stack,
                                                      fmt_call(M, F, A)]))).
  
  %%--------------------------------------------------------------------
  %% @private
  
negative.code:             [{Mod,Fn,Args} | Stack] = erlang:get_stacktrace(),
              error_logger:warning_msg("Unimplmented encoding function ~p:~p/~p.",
                                       [Mod, Fn, length(Args)]),
              dump(error, undef, Mod, Fn, Args, Stack, Frame, Dir);
          Type:Exception ->
              {_,_,Mics} = erlang:now(),
              {_,{H, M, Secs}} = calendar:local_time(),
  