From: Milind G. <mil...@gm...> - 2012-05-18 00:08:08
|
Thanks for the update, Milind On Thu, May 17, 2012 at 1:55 PM, John Labenski <jla...@gm...> wrote: > On Thu, Jan 5, 2012 at 6:36 PM, Milind Gupta <mil...@gm...> > wrote: > > Hi, > > Posting the message again to find out if it is possible to watch > value > > of keys inside a table. When I tried that the watch just gives an error > > message saying: "string:Lua:Syntax error during pre-compilation" ? > > Just a question, does everybody just use the debug library to debug > > their code in Lua or is there a good graphical debugger that can help. I > > tried Lua Eclipse, it didn't work for me, cannot make Scite work to > debug in > > Linux but even in windows its debugging is more command line rather than > > graphical. WxLua seemed to be the only solution that was working good but > > then I encountered this problem? > > Sorry about the delay... Yes there is a problem, but also a temporary > fix. Unfortunately the remote debugger expression evaluator does > double duty, a) run code like "a = 1+2" to set a varible in the > debugger Lua state or to get variable values. So, when it finds a '.' > it thinks there is an expression to evaluate not a variable. > > The solution, put a watch on these two things: > "a = MyTable.Key" : should say Ok on the value side > "a" : should be the value of MyTable.Key > > I just have to find the time to separate the functionality of the two > things so they both work. > > 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 > wxl...@li... > https://lists.sourceforge.net/lists/listinfo/wxlua-users > |