Guppy Posted September 10, 2014 Share Posted September 10, 2014 Maybe a stupid question but how do I debug in Lua? I can set a break point but I cannot set watches or inspect variables and if something goes wrong or I make a typo it just crashed with no warning. Shouldn't there be a lua console or something? Quote System: Linux Mint 17 ( = Ubuntu 14.04 with cinnamon desktop ) Ubuntu 14.04, AMD HD 6850, i5 2500k Link to comment Share on other sites More sharing options...
Rick Posted September 10, 2014 Share Posted September 10, 2014 No watches but you can inspect variables with the Debug tab of the script editor. Quote Link to comment Share on other sites More sharing options...
Guppy Posted September 10, 2014 Author Share Posted September 10, 2014 I assume by tab you mean like the ones that each script get? So now bug I guess - linux have no lua debug tab Quote System: Linux Mint 17 ( = Ubuntu 14.04 with cinnamon desktop ) Ubuntu 14.04, AMD HD 6850, i5 2500k Link to comment Share on other sites More sharing options...
DerRidda Posted September 10, 2014 Share Posted September 10, 2014 Try deleting your Leadwerks config and let it generate a new one, especially if you didn't do exactly that when the editor features were added under Linux recently. Quote Link to comment Share on other sites More sharing options...
Rick Posted September 10, 2014 Share Posted September 10, 2014 Can't see the entire thing but maybe it's collapsed at the bottom or right and you have to put mouse over it and drag it over? I think that happened sometimes in Windows back in the day. Quote Link to comment Share on other sites More sharing options...
Guppy Posted September 10, 2014 Author Share Posted September 10, 2014 Try deleting your Leadwerks config and let it generate a new one, especially if you didn't do exactly that when the editor features were added under Linux recently. I did not - how do I do that? Quote System: Linux Mint 17 ( = Ubuntu 14.04 with cinnamon desktop ) Ubuntu 14.04, AMD HD 6850, i5 2500k Link to comment Share on other sites More sharing options...
DerRidda Posted September 10, 2014 Share Posted September 10, 2014 ~/.config/leadwerks/leadwerks.cfg kill or rename that file. 1 Quote Link to comment Share on other sites More sharing options...
Guppy Posted September 10, 2014 Author Share Posted September 10, 2014 wow well that made a the difference in the world, thanks <3 Quote System: Linux Mint 17 ( = Ubuntu 14.04 with cinnamon desktop ) Ubuntu 14.04, AMD HD 6850, i5 2500k Link to comment Share on other sites More sharing options...
Josh Posted September 12, 2014 Share Posted September 12, 2014 It was probably hidden off to the side of the window. 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...
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.