lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Hi Dibyendu,

> 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,, which
references another discussion on lujit maillist: There
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?