lua-users home
lua-l archive

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

----- Original Message -----
From: liam mail
Date: 8/28/2011 6:01 AM
A more useful hook in the core would be for breakpoints, so a breakpoint instruction can overwrite the instruction at the location. As for catching an error before the error is thrown, this is something I already do without modifying the core per say via the use of trampolines. Liam
A breakpoint hook would be useful and could speed up debugging considerably.

How is the use of trampolines easier than a few lines to provide a method of catching errors at the point of error? How do you use trampolines to accomplish this?