In the standard Blitz IDE, just uncheck 'Debug Enabled?' in the 'Program' menubar menu.
If you do that, Axeman is right - it won't report an error.It'll just crash with a Memory Access Violation instead.
Is there a way to stop this?
Yes. Don't use absolute file paths.