Page 1 of 1

xdblua question

Posted: Wed Nov 03, 2010 9:10 pm
by tbayne
Hi,

On windows I have installed Lua For Windows. I want to debug my .lua code using Zeus's debugger. How do I tell the Zeus debugger about the Lua modules installed with Lua For Windows?

Thanks
Terry

Posted: Wed Nov 03, 2010 11:57 pm
by jussij
Hi Terry,
How do I tell the Zeus debugger about the Lua modules installed with Lua For Windows?

Can you use the LUA_CPATH environment variable to define the module search :?:

I would hope this would work, but if this is not the case then you may have in fact found a bug in the xdbLua debugger executable itself.

But I have to admit I have not done a lot of Lua development, so I'm not really up to speed on how the Lua module system works :(

Cheers Jussi

PS: There is a simple Lua Debugger tutorial on the Start Button, Program Files, Zeus for Windows, Tutorials menu.

Problem solved

Posted: Thu Nov 04, 2010 3:39 am
by tbayne
I added "d:\lua4win\clibs" to the Search Path under the Workspace options. This got it working.

Posted: Thu Nov 04, 2010 5:04 am
by jussij
Hi Terry,
I added "d:\lua4win\clibs" to the Search Path under the Workspace options. This got it working.
That is good news :)

Thanks for taking the time to post your solution.

Cheers Jussi

PS: I am sure the Zeus debugging features can always do with some improvement, so if you find any issues or have any suggestions on how it can be improved, please feel free to craft another post.