From: John L. <jla...@gm...> - 2012-06-30 16:40:19
|
On Fri, Jun 29, 2012 at 2:51 AM, Paul K <pau...@ya...> wrote: > Hi John, > > Couple of other things. The new version seems to be using > significantly less memory. When I can get the app to start, it's only > using about 7.8M memory, where the old one was using 13-14M. This may > be related to the reduced size of the dlls. That is good, Lua people seem obsessed with size. > Also, the error message box is gone and the app seems to be failing > silently where the old one was reporting errors in a nice dialog with > wxLua title and a message "Lua: error while running chunk". This was > one of the primary reasons we stayed with the binaries we are > currently using and I'd love to have that error message back. People complained about the error box. I plan to replace it with a text console (like wxLua -c) so that when running error message will stream to it. This will be something that in Lua you can enable or disable it, e.g. wxlua.ShowConsoleOnPrint(true/false) or something. > The error messages we used to be getting seem to be coming from > "wxString wxlua_LUA_ERR_msg(int LUA_ERRx)" function in wxlstate.cpp > with the value LUA_ERRRUN. I'm not sure why the new version doesn't > trigger/report that anymore. I will look into this... Regards, John |