How to debug and report a crash

Carl Sassenrath, CTO
REBOL Technologies
12-Oct-2009 18:34 GMT

Article #0269
Main page || Index || Prior Article [0268] || Next Article [0270] || 1 Comments || Send feedback

When a crash occurs in R3 it can be difficult to know what caused it (so you can report it as a bug.)

It is possible to obtain a crash dump from R3 when a crash happens. Here's how to enable it:

>> secure [debug allow] 
>> evoke 'crash-dump

Now, if a crash occurs, you will see internal information displayed on the console. It includes a stack dump that should help you determine where the crash happened.

Try to get the crash to occur in just a few lines of code, so you can report it as a bug. Do not report just "my code crashed". That is not helpful.

If necessary, we can improve on the crash dump output in the future to provide more information about state of the system as of the crash.


Updated 13-Jun-2024 - Edit - Copyright REBOL Technologies -