It's useful to set arbitrary breakpoint in any lua file to inspect the context infomation, e.g. print local variables if some condition satisfied.
In this way, you don't need to modify the source codes of your project, and just get diagnose infomation on demand, i.e. dynamic logging.
This library supports setting breakpoints within both interpretd function and jit compiled function. The breakpoint could be at any position within the function. The function could be global/local/module/ananymous.
Features:
set breakpoint at any position
dynamic breakpoint
Customized breakpoint handler
you could define one-shot breakpoint
work for jit compiled function
if function reference specified, then performance impact is only bound to that function
In this way, you don't need to modify the source codes of your project, and just get diagnose infomation on demand, i.e. dynamic logging.
This library supports setting breakpoints within both interpretd function and jit compiled function. The breakpoint could be at any position within the function. The function could be global/local/module/ananymous.
Features:
set breakpoint at any position
dynamic breakpoint
Customized breakpoint handler
you could define one-shot breakpoint
work for jit compiled function
if function reference specified, then performance impact is only bound to that function
if all breakpoints deleted, jit could recover