Better trace parser.
+ initial support for memory debugging.