reading traces from a file in c/c++

Joel Reymont <>
Thu Oct 21 15:08:12 CEST 2010

What is the easiest way to incrementally read through a file of Erlang traces outside of Erlang?

I could not see any functions for reading terms from file in the ei library.

Is it a matter of always reading in a chunk big enough for any term, trying ei decoding functions and reading more of the same chunk if decoding fails?

	Thanks, Joel


More information about the erlang-questions mailing list