drarem Posted August 19, 2015 Share Posted August 19, 2015 Why is it sometimes when I run the game from the editor, I get generic loading/saving in the output window and other times, my print("...") statements produce output? I would like to see output all of the time when the program either ends or crashes to detect bugs. I also notice that in the same window, sometimes my printed output is overlaid by the system messages of loading and saving various models, textures and materials. Thanks. Quote Link to comment Share on other sites More sharing options...
Josh Posted August 19, 2015 Share Posted August 19, 2015 The Lua command print() does not flush the write buffer and these lines typically appear when the program ends. The Leadwerks command System:Print() prints immediately. 1 Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
drarem Posted August 19, 2015 Author Share Posted August 19, 2015 Thanks! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.