[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Lua hook and debugger implementation questions
- From: Paul K <paul@...>
- Date: Fri, 20 May 2016 15:07:39 -0700
> First - at present there isn't an ability to invoke the hook when an
> error is thrown or caught. Is it possible / good idea to add support
> for this? From a debugger perspective the throwing or catching of an
> error is similar to function call / return.
This has been discussed briefly in the past; for example,
references another discussion on lujit maillist:
is also a patch to the Tilde debugger that adds the error hook to lua
I'd be interested in this hook as well.
> A simple tracking of call / return statements will fail if an error is thrown
Do you have a script that demonstrates when this tracking is not working?