EnigmaGrey Posted August 19, 2013 Share Posted August 19, 2013 I am the Trace that Stacks.I am the nil you are trying to call Step through, nil.Step through. Link to comment Share on other sites More sharing options...
lemmy101 Posted August 20, 2013 Author Share Posted August 20, 2013 1) Can look at the entire map (both streamed in and meta), with drag pan, mouse wheel zoom. Clicking anything will show it in the list to the lest. In case of grid squares will list everything on it. Then you can double click any of those to open them up in the object viewer (in this case Bob Smith's IsoPlayer object), to nose at all their properties (java or lua, that is. Any java object is fully browsable in the object viewer) 2) You can put a data breakpoint on any entry of a lua table, so it can either break when the value in it is read, or break when the value is overwritten. It will break at the exact line of lua code that's affecting that table entry, allowing you to see why a certain table has a specific value in it shouldn't. you can also add any table element into the watch window, to keep an eye on it. 3) You can now reload any lua file while in the game. Warning: This may have weird side-effects in some cases due to the way tables / functions stored in other parts of lua or java may still point to the old code. Link to comment Share on other sites More sharing options...
johndough Posted August 20, 2013 Share Posted August 20, 2013 This will be a huge time saver. Most of the time I've used on making mods I've spent making test scripts to poke at data or figure out how functions work. Link to comment Share on other sites More sharing options...
EnigmaGrey Posted August 20, 2013 Share Posted August 20, 2013 Wow. Link to comment Share on other sites More sharing options...
WonkyLegs Posted August 20, 2013 Share Posted August 20, 2013 Seems to be the perfect moment to get involved into modding the game. Will the debugger be included in the next test build? Link to comment Share on other sites More sharing options...
lemmy101 Posted August 20, 2013 Author Share Posted August 20, 2013 yeppers Link to comment Share on other sites More sharing options...
lemmy101 Posted August 20, 2013 Author Share Posted August 20, 2013 Now to put it to use! Debugging NPCs Walther 1 Link to comment Share on other sites More sharing options...
mendonca Posted August 20, 2013 Share Posted August 20, 2013 Holy smokes.This is great. Link to comment Share on other sites More sharing options...
lemmy101 Posted August 21, 2013 Author Share Posted August 21, 2013 And suddenly, the likely cause of the invisible wall bug presents itself as Bob and co loot Pile o' Crepe! I love this debugger <3 RoboMat 1 Link to comment Share on other sites More sharing options...
dida55 Posted August 21, 2013 Share Posted August 21, 2013 And suddenly, the likely cause of the invisible wall bug presents itself as Bob and co loot Pile o' Crepe! I love this debugger <3 'bobstops.png' lolololololol Link to comment Share on other sites More sharing options...
RegularX Posted December 30, 2013 Share Posted December 30, 2013 What's the console command to get this running is OSX again? With the Steam build, messages don't seem to go to Console.Log anymore so I'm trying to figure out the current state of my mods. Link to comment Share on other sites More sharing options...
Cl0nec0mmand0 Posted December 31, 2013 Share Posted December 31, 2013 i have no idea what im looking at 0.oalso i always wondered what does nil means i feel like its an error idk Link to comment Share on other sites More sharing options...
Kyun Posted December 31, 2013 Share Posted December 31, 2013 With that you can look as the code being called / executed step by step, see what's going wrong etc. (I personally never managed to boot the game with SHIFT) If i'm not wrong, lua is also a "plug and play" language (forgive the probably innacurate term); as long as you don't need to load textures on game boot, you can write code and execute it in game, without a restart, kinda like xml scripts. Which the debugger allows you to do ? Link to comment Share on other sites More sharing options...
lvdota Posted January 29, 2014 Share Posted January 29, 2014 its awesome .. ty Link to comment Share on other sites More sharing options...
Walther Posted January 29, 2014 Share Posted January 29, 2014 that is glorious. i opened this thread and was like "whoa, nice!" clicked "like this" and scrolled further down, every second post is a post with a screenshot and/or video and had me clicking "like this". it just gets better ^^ ! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now