Simple code tracer, use exception stack info to implemence.