Re: assertion failed in luajit
- From: Peter Cawley <corsix@xxxxxxxxxx>
- To: luajit@xxxxxxxxxxxxx
- Date: Wed, 5 Oct 2016 01:24:53 +0100
On Wed, Oct 5, 2016 at 12:57 AM, Laurent Deniau <Laurent.Deniau@xxxxxxx> wrote:
Unfortunately, it does not crash anymore when run in the debugger environment.
I will trace the function call by hand (i.e. using some printf) in LuaJIT
tomorrow.
One of the ideas from the aforementioned SO thread might also be of
use: provide a lua_assert implementation which livelocks or deadlocks
or otherwise suspends execution upon assertion failure rather than
aborting, and then attach a debugger after hitting the assertion
failure.
Other related posts: