anchor.diff:                      {ok, {Module, [{abstract_code, {_AbstVersion, AbstractCode}}]}}
                       = beam_lib:chunks(FileName, [abstract_code]),
                       lists:foldl(fun (Chunk, InnerParseState) ->
  -                                        parse_chunk(Chunk, Module, InnerParseState)
  +                                        parse_chunk_log(Chunk, Module, InnerParseState)
                                   end, ParseState, AbstractCode)
               end
       end.
   
  +-spec parse_chunk_log/3 :: (any(), module(), tester_parse_state:state()) ->
  +    tester_parse_state:state().
  +parse_chunk_log(Type, Module, State) ->
  +    try
  +        parse_chunk(Type, Module, State)
  +    catch
  +        subst_error ->
  +            ct:pal("~p:~p: failed to substitute", [Module, Type]),
  +            exit(foobar);
  +        parse_error ->
  +            ct:pal("~p:~p: failed to parse chunk", [Module, Type]),
  +            exit(foobar)%;
  +        error:Reason ->
  +            ct:pal("~p:~p: failed to parse chunk (error:~p)", [Module, Type, Reason]),
  +            exit(foobar)
  +    end.
   
   -spec parse_chunk/3 :: (any(), module(), tester_parse_state:state()) ->
       tester_parse_state:state().
  
positive.code:         parse_type(Type, Module, ParseState)
      catch
          unkown_type ->
              ct:pal("~p:~p: failed to parse  ~p", [Module, Info, Type]),
              exit(foobar)
      end.
  
  
negative.code:                       catch
                            {subst_error, Description} ->
                                ct:pal("substitution error ~w in ~w:~w ~w", [Description, Module, FunName, AFunSpec]),
                                throw(subst_error);
                            {parse_error, Description} ->
                                ct:pal("parse error ~w in ~w:~w ~w", [Description, Module, FunName, AFunSpec]),
                                throw(parse_error)
                        end;
                    _ ->
                        TheFunSpec
  