diff --git a/src/core/interpreter/index.ts b/src/core/interpreter/index.ts index be69c9ba..39364323 100644 --- a/src/core/interpreter/index.ts +++ b/src/core/interpreter/index.ts @@ -1223,7 +1223,8 @@ export class Interpreter implements Expr.Visitor, Stmt.Visitor if ( !this._tryMode && this.options.stopOnCrash && - !(err instanceof Stmt.BlockEnd) + !(err instanceof Stmt.BlockEnd) && + !core.terminateReasons.includes(err.message) ) { // Enable Micro Debugger on app crash let errNumber = RuntimeErrorDetail.Internal.errno;