Forcing a program exceptionΒΆ

crash

Force a program execution exception

Version >= 6.2.0


SYNTAX

crash

This command can be used to test exception handling, as it forces a NULL pointer indirection access. It will produce a GPF and the end of the current process.

Note: the program finalization will not be a clean one.


EXAMPLE

info "Okay here"
crash
info "Should have crashed"