[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: RE: debugger and breakpoints
- From: Benoit Germain <bgermain@...>
- Date: Wed, 6 Nov 2002 16:36:00 +0100
I'll give a try to the second solution, since our editor is an embedded
ActiveX control, and I'd rather not depend on an external program
> -----Original Message-----
> From: Luiz Henrique de Figueiredo [mailto:firstname.lastname@example.org]
> Sent: mercredi 6 novembre 2002 16:11
> To: Multiple recipients of list
> Subject: Re: debugger and breakpoints
> >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.