[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: debugger and breakpoints
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Wed, 6 Nov 2002 13:11:21 -0200
>Is there a way for
>the host to know if a given line in a script actually generates code, so
>that we can accept only valid lines as breakpoint locations in the editor ?
No official way, sorry. Perhaps we should add one.
Right now, you can do this by invoking luac -l -p and searching for the line
in the output. Or you can get your hands dirty and read the lineinfo data
structure in Proto. See ldebug.c.