Re: [wxlua-users] debugging lua scripts

2012-08-28 Thread John Labenski
On Mon, Aug 27, 2012 at 6:37 PM, Milind Gupta wrote: > Hi, > I have a lua program in which I load a lua script as a string > (loadstring) and then execute it. Is it possible to debug this script in > wxLua.exe? How would I add a breakpoint in there? > Open your program in wxLua by calling.

Re: [wxlua-users] debugging lua scripts

2012-08-28 Thread Milind Gupta
Thanks Paul, Yes I see that I need to have it in a separate file and then it works. Regards, Milind On Mon, Aug 27, 2012 at 5:41 PM, Paul K wrote: > Hi Milind, > > I quickly tried that in wxLua, but couldn't figure out how to specify > the folder to run scripts in so that loadfile and io

Re: [wxlua-users] debugging lua scripts

2012-08-27 Thread Paul K
Hi Milind, I quickly tried that in wxLua, but couldn't figure out how to specify the folder to run scripts in so that loadfile and io.open would work. I also tried to do this in ZeroBrane Studio (https://github.com/pkulchenko/ZeroBraneStudio) and it seems like it may work for you (the IDE is wxlu