On 18:38 Tue 14 Feb , Jason Lunz wrote:
>
> add this to your ~/.ion3. Then, in the code you want to debug:
>
> dopath("dbg")
> dbg.echo('this has a newline')
> dbg.echon('this prints without a newline')
> -- you can also make a best-effort attempt to print arbitrary objects:
> dbg.echo(table)
>
> I haven't used any of this in a while, but it made things much easier
> for me. I see the output in ~/.xsession-errors (debian unstable).
>
> Jason
Thank you very much for this! I'm glad
you wrote it for a beginner. A lot of
people give very short informations which
can only be understood by advanced coders ...
This is what i was looking for.
BTW: I found the problem(s) with the help of your dbg script!
1)LC_NUMERIC has to be =C until lua gets fixed.
2)I think there is a typo in statusd_load.lua.
I will ask here in a new thread in order that
Tuomo Valkonen will see it and possibly answer
if i am wrong. I can't believe it because it seems
i am the only one who had that problem.
Thanks a lot Jason :)
Heiko