You could look into vm/errors.cpp and see which is the lowest level error
that you want to catch (``fatal_error`` maybe)?
Your code would probably not be cross platform so you might need to add a
hook you can implement on Windows. Perhaps change/use the ``abort()`` API.
On Fri, Jun 16, 2017 at 7:03 AM, Alexander Ilin <ajs...@yandex.ru> wrote:
> Hello!
>
> I'd like to make Factor show a native MsgBox on any uncaught exception
> on Windows.
> For example, currently if you run without a console, you won't see the
> "Out of memory" message.
> I'd like to change that.
> Where should I look for the code that could handle that?
> Do you think it would be better to do that at the VM level, or higher up?
>
> ---=====---
> Александр
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk