lua-users home
lua-l archive

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


2018-05-02 6:18 GMT+02:00 Sean Conner <sean@conman.org>:
> It was thus said that the Great Dirk Laurie once stated:
>> Am I describing your module, or close?
>>
>> 1. It provides interactive debugging.
>
>   Further clarification needed.
>
>> 2. It takes max 5 minutes of studying the README to get up to speed.
>
>   Erm ...
>
>> 3. You run your Lua code with `lua -l mydebug` or the like.
>
>   Yes.
>
>> 4. At some point in the program where you need debugging, you put
>>     mydebug().
>
>   Yes.
>
>> 5. That routine calls a REPL which can list, inspect and change
>> variables visible at that point of the program and return.
>
>   Yes to everything bug change variables.
>
>> Example:
>>
>> !> x?
>> upvalue, table 0x34bc80, has __index chain (3 levels)
>> !> x.a?
>> in __index(1), number, -nan
>> !> x.a = 0
>> !> exit
>>
>> This is not a sneaky advertisement for a module I already almost have.
>> I wish to know what is on the shelf already.
>
>   Does it need to be published?

Just being available in a repository will do.

Your screenshot brings back memories of Turbo Pascal ...

Dirk