lua-users home
lua-l archive

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


On Mon, 16 Apr 2007 10:01:43 -0500, Rici Lake <lua@ricilake.net>
wrote:

>Steve Heller wrote:
>> I also have another question: exactly how do I set a
>> breakpoint in a file? I've tried this:
>> 
>> b
>> d:/dev/atb/core/trunk/lib/atb/custom/bac_6m/filters/experian/acaps_ecbm_filter2.lua:18
>
>Without the :
>
>eg.
>b foo.lua 18

Thanks, that was an obvious mistake on my part.

>I don't have a windows machine right now, so I don't know whether it
>would be / or \ but my guess is that it would be \. The filename
>must be exactly as it appears in the functions 'source' property,
>which is not very convenient since you don't know a priori what
>that says. You can see it once you're in the debugger, though;
>when you single step through the file, ldb displays its view of
>the current filename.

Ok, I'll check that out if I can't get it to work otherwise.

>I'd love to make this simpler to use, but it's not immediately
>clear to me how to do so.

Me either. :-)

Steve