lua-users home
lua-l archive

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


Hi Chris,

lua -e "require'remdebug.engine';remdebug.engine.start()" your_script.lua

You could also have a short debug.lua with:

require'remdebug.engine'
remdebug.engine.start()

and do

lua debug.lua your_script.lua

--
Fabio Mascarenhas

On 9/29/05, Chris Marrin <chris@marrin.com> wrote:
> Fabio Mascarenhas wrote:
>
> > Hi Chris,
> >
> > No date for a beta version yet, sorry. But the latest version of Scite
> > has syntax highlighting and code completion for the Lua standard
> > library. Using it plus RemDebug via the console is a good stopgap
> > until a visual debugger is ready.
>
> Yes, I will start with that. I am also heavily into using wxLua in my
> system. So putting together a little GUI front-end might not be too hard.
>
> Speaking of RemDebug: the versions I have seen expect you to do
> something like a require "remdebug" and then make a call to it at the
> start of you program. This makes no sense to me. Are there any Lua.exe
> versions that incorporate this (maybe using a -d flag on the command
> line or something)?
>
> --
> chris marrin              ,""$, "As a general rule,don't solve puzzles
> chris@marrin.com        b`    $  that open portals to Hell" ,,.
>         ,.`           ,b`    ,`                            , 1$'
>      ,|`             mP    ,`                              :$$'     ,mm
>    ,b"              b"   ,`            ,mm      m$$    ,m         ,`P$$
>   m$`             ,b`  .` ,mm        ,'|$P   ,|"1$`  ,b$P       ,`  :$1
>  b$`             ,$: :,`` |$$      ,`   $$` ,|` ,$$,,`"$$     .`    :$|
> b$|            _m$`,:`    :$1   ,`     ,$Pm|`    `    :$$,..;"'     |$:
> P$b,      _;b$$b$1"       |$$ ,`      ,$$"             ``'          $$
>  ```"```'"    `"`         `""`        ""`                          ,P`
>