Very crude stack trace support for interpreted mode. Prevents some errors, though.
(E.g. for "erlang:halt()" in interpreted mode.)