On 10/4/06, Adam Klotblixt <[EMAIL PROTECTED]> wrote: > OK, I've tried and searched, but found no answer so I'll post here with > hopes that you can enlighten me...
Hopefully.. sorry about the delay, sourceforge has been blocking email from gmail... > What's the suggested form of debugging/coding in WxLUA? There are 2 > different editors/debuggers (wxlua and wxluaedit) with different weaknesses, Be nice, unless of course, you're prepared to help make them better. > none of which fills my needs completetly. I hope there are some things I > have misunderstood or missed, because I really need a decent development > environment. What I am in search of is a good work-flow for writing, editing > and debugging wxlua-code. > > I'll explain what I experience, running under WinXP. > > wxlua: > * Good enough editor, but lacks line-numbers and all sorts of > project-handling (minor annoyance) > * eats memory constantly (~4kB per second) (major bug) > * all output from print ends up in dialog-boxes, 1 per line, which makes > unit-testing next to impossible (major annoyance) > * has single-step debugger that works (very good) This is mostly all fixed, no project code yet, and there probably won't be. Try the newest "bin" snapshot here: http://wxlua.sourceforge.net/download/ The output to a message box is a MSW thing... it doesn't have a real console so printf typically goes nowhere. I'll test it out to see what happens, maybe something better can be made like a non modal dialog with a textctrl in it. > wxluaeditor: > * very nice editor, lacks project-grouping and saving of workspace (minor > annoyance) > * only break-point debugger, no single-step (major annoyance) This is basically an editor that just does a dostring("editor contents") for lua so it's pretty dumb. I have plans to add the full debugging as the wxLua program has, but I want to get the socket code really cleaned up first. > * does not run all code that works in wxlua (very strange). For example, the > use_luaunit.lua that accompanies luaunit runs as expected in wxlua but gives > the following error in wxluaeditor (major bug): > Running lua script : Wed Oct 04 07:59:33 2006 > > Err: lua: Error while running chunk > c:/work/luaunit/luaunit.lua:346: attempt to call a table > value > stack traceback: > c:/work/luaunit/luaunit.lua:346: in function 'run' > [string "use_luaunit.lua"]:94: in main chunk > > End lua script : Wed Oct 04 07:59:33 2006 > Execution time : 0.030(s) I can't possibly understand this without more information. It would help to know what code is at and around line 94 in use_luaunit.lua and line 346 in luaunit.lua for example. If you can make the smallest possible code sample that displays the problem I can look into it. Regards, John Labenski ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users