handle-ctrl-break


Vocabulary
listener

Word description
If this variable is t, the listener will wrap the user code with calls to enable-ctrl-break and disable-ctrl-break to make it interruptible with C-Break. This includes both compilation and execution phases, so circular vocab import can be interrupted as well as infinite loops.

This only works on Windows, and has no effect on other platforms.

Warning
If user code yield s or gets stuck on an asynchronous I/O operation, pressing C-Break will most likely crash the Factor VM.


Definition