asmjit::DebugUtils Namespace Reference [¶]
Debugging utilities.
Returns a printable version of asmjit::Error
code.
Called to output debugging messages.
Called on assertion failure.
file | Source file name where it happened. |
line | Line in the source file. |
msg | Message to display. |
If you have problems with assertion failures a breakpoint can be put at assertion_failure() function (asmjit/core/globals.cpp). A call stack will be available when such assertion failure is triggered. AsmJit always returns errors on failures, assertions are a last resort and usually mean unrecoverable state due to out of range array access or totally invalid arguments like nullptr where a valid pointer should be provided, etc...