[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Lua hook and debugger implementation questions
- From: Dibyendu Majumdar <mobile@...>
- Date: Fri, 20 May 2016 00:52:29 +0100
I have two questions.
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.
Secondly - what is the best way to implement 'step over' and 'step
out' actions in the debugger? A simple tracking of call / return
statements will fail if an error is thrown - i.e. a mechanism is
needed I would have thought to reset the tracking data when an error
is thrown that crosses the stack frame where the debugger was
Thanks and Regards