From: John L. <jr...@us...> - 2006-12-13 06:57:54
|
Update of /cvsroot/wxlua/wxLua/samples In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv18568/wxLua/samples Modified Files: editor.wx.lua Log Message: cleanup genwxbind.lua, better var names, builtin -> number or function cleanup wxlprint, wxlhtmlwin Index: editor.wx.lua =================================================================== RCS file: /cvsroot/wxlua/wxLua/samples/editor.wx.lua,v retrieving revision 1.39 retrieving revision 1.40 diff -C2 -d -r1.39 -r1.40 *** editor.wx.lua 11 Dec 2006 07:03:30 -0000 1.39 --- editor.wx.lua 13 Dec 2006 06:57:50 -0000 1.40 *************** *** 1810,1824 **** end ! local ok = false debuggerServer = CreateDebuggerServer() if debuggerServer then ! ok = debuggerServer:StartClient() end ! if debuggerServer and ok then SetAllEditorsReadOnly(true) DisplayOutput("Waiting for client connection.\n") else ! DisplayOutput("Unable to start debuggee.\n") if debuggerServer then debuggerServer:Delete() --- 1810,1824 ---- end ! local pid = -1 debuggerServer = CreateDebuggerServer() if debuggerServer then ! pid = debuggerServer:StartClient() end ! if debuggerServer and (pid > 0) then SetAllEditorsReadOnly(true) DisplayOutput("Waiting for client connection.\n") else ! DisplayOutput("Unable to start debuggee process.\n") if debuggerServer then debuggerServer:Delete() |