On Mon, Aug 27, 2012 at 6:37 PM, Milind Gupta <[email protected]> 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.
$ wxLua -o program.lua
The Debug menu has items for executing and debugging it. To set
breakpoints click on the margin and red squares appear, be sure to put
them on code lines. Then click Debug->Start Debugging and a green
arrow appears on the line where the debugger is stopped. Press F11 to
step, click "View call stack" to view the stack and browse all
variables in Lua, you can also set watches to print variable values
(when they're in scope).
Regards,
John
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
wxlua-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wxlua-users