lulu58e2 Posted May 3, 2014 Share Posted May 3, 2014 To fix it on Linux, open projectzomboid.sh and put in-Ddebug \ Does this still work in 26? I've added it (same as I added in 25c) but F11 isn't working. I've been busy for a couple weeks so maybe I've missed something. I find I'm lost without it now. Link to comment Share on other sites More sharing options...
EnigmaGrey Posted May 3, 2014 Share Posted May 3, 2014 Might have to add it after the call to zombie.gameStates.MainScreenState now: zombie.gameStates.MainScreenState -debugNo longer seems to work with the -D flag. Link to comment Share on other sites More sharing options...
XprogeR Posted September 2, 2014 Share Posted September 2, 2014 How i can get debugger in build 27 #1.OS: Win 8.1Bought the game on the Steam. When i add -debug/-Debug/-D I'm getting in console Unknow option "__OPTION_NAME__"With LShift no luck too. I'm sorry for my bad English. Link to comment Share on other sites More sharing options...
EnigmaGrey Posted September 2, 2014 Share Posted September 2, 2014 -dDebug Link to comment Share on other sites More sharing options...
XprogeR Posted September 2, 2014 Share Posted September 2, 2014 -dDebugNo, this is also trigger error Unknow option.".\jre64\bin\java.exe" -Xms1024m -Xmx1024m -Djava.library.path=./ -cp lwjgl.jar;lwjgl_util.jar;./ zombie.gameStates.MainScreenState -dDebugPAUSE Link to comment Share on other sites More sharing options...
XprogeR Posted September 3, 2014 Share Posted September 3, 2014 -dDebugNo, this is also trigger error Unknow option.".\jre64\bin\java.exe" -Xms1024m -Xmx1024m -Djava.library.path=./ -cp lwjgl.jar;lwjgl_util.jar;./ zombie.gameStates.MainScreenState -dDebugPAUSE I put the flag in wrong place: This is working: ".\jre64\bin\java.exe" -Ddebug -Xms1024m -Xmx1024m -Djava.library.path=./ -cp lwjgl.jar;lwjgl_util.jar;./ zombie.gameStates.MainScreenStatePAUSE EnigmaGrey 1 Link to comment Share on other sites More sharing options...
Diogeno Posted September 8, 2014 Share Posted September 8, 2014 For no reason Holding shift doesn't work for me while repeatedly pressing it works.Hope it helps someone. Link to comment Share on other sites More sharing options...
xSiN Posted December 30, 2014 Share Posted December 30, 2014 Does this work?I have tried everything posted here, so far nothing has worked.Any help/explanation?Thanks Link to comment Share on other sites More sharing options...
Suomiboi Posted December 31, 2014 Share Posted December 31, 2014 Yes it works, at least has worked previously. Try holding the shift key down for the entire time from starting the .exe until the whole screen has loaded. Link to comment Share on other sites More sharing options...
abreu20011 Posted April 11, 2015 Share Posted April 11, 2015 Nice! ^^ Link to comment Share on other sites More sharing options...
axeladalidez78 Posted March 20, 2016 Share Posted March 20, 2016 (edited) Hi guys I'm having some problems here: Before , i could launch the game in debug mode perfectly. Later I didn't have the option to play solo , online. And now I can't even open the debug mode even If i press shift before launching the game , after launching the game , when the console open, it simply doesn't seems to work. I tried to make the -debug or -Ddebug but I don't know where to place it can you guys help me? I'm using windows 10 Edit: Pressing 5 on the numbers of the right seems to disable the Hud , and pressing slowly the left shif key seems to work , still want to know where I need to place the -debug code. Edited March 20, 2016 by axeladalidez78 Link to comment Share on other sites More sharing options...
ShuiYin Posted March 20, 2016 Share Posted March 20, 2016 i dunno how i can miss such an important topic like this. i never used the debugging mode before :(. Ill try the shift key thing. Link to comment Share on other sites More sharing options...
EnigmaGrey Posted March 20, 2016 Share Posted March 20, 2016 You place -Ddebug in the bat file, after the xmn/xmx values. You do not need to hold any special keys to activiate it. F11 will bring up the Lua debug panel once in game. Link to comment Share on other sites More sharing options...
xenoglyph Posted March 20, 2016 Share Posted March 20, 2016 Wow, I can say goodbye to my reloading games and printing debugging messages way of doing things, lol. i should really pay closer attention to the forums. Link to comment Share on other sites More sharing options...
wannannaw Posted February 7, 2018 Share Posted February 7, 2018 On 5/2/2014 at 11:21 PM, EnigmaGrey said: Might have to add it after the call to zombie.gameStates.MainScreenState now: zombie.gameStates.MainScreenState -debug No longer seems to work with the -D flag. I'm trying to get the debugger working with linux on 38.30 steam multiplayer. It doesn't seem to matter where I put -debug/-Ddebug/-dDebug I've tried adding each of those three before -Xms1024m, after -Xmx1024m , and after zombie.gameStates.MainScreenState. I still can't get f11 to open the debugger. Java version openjdk version "1.8.0_151" Link to comment Share on other sites More sharing options...
stuck1a Posted December 6, 2022 Share Posted December 6, 2022 (edited) It's really a very helpful tool. Of course, it can't be compared to something like Mobdebug (I tried to somehow inject a socket without recompiling the zombie package but failed miserably... lol), but it's definitely extremely useful. Just two small suggestions on my part that could further improve the handling: A small search bar for the window of loaded lua files would be a nice thing. Even if it works trivial like the first regex match so something like that. Scrolling through this long list can be very painful. Adding item to the watchlist out of the stack trace list would be nice, too. Or as alternative, adding the object to the watchlist which is currently opened in an object viewer window. Currently it only seems to work with members inside the opened object. This is of course helpful, but you have to get the higher level into the stack manually to add object to the watchlist. Especially with global objects, this is laborious, since you have to open _G in the Object Viewer and search for the corresponding objects (a search field might help here as well, or the option of arranging the members alphabetically) Best regards, stuck1a Edited December 21, 2022 by stuck1a stroked 1 - just noted there is a search bar already... Link to comment Share on other sites More sharing options...
jeph300 Posted January 13 Share Posted January 13 Pressing F11 on mac doesn't work Link to comment Share on other sites More sharing options...
EnigmaGrey Posted January 13 Share Posted January 13 If you’re using a Magic Keyboard, hold fn down then press f11. 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