Posted September 9, 20223 yr If i use debug mode and add some breakpoints, they can be hit and the debug tools work well. However, if I debug the program for a long time, the max-tick-time will be exceeded and the game crashes. I know how to disable it in the server settings, but how can i avoid it in client debug?
September 9, 20223 yr With "client" i guess you mean a Singleplayer world, and in Singleplayer this should not matter. If this is not what you mean please explain it and provide as much as possible details. Edited September 9, 20223 yr by Luis_ST
September 10, 20223 yr Author Yes, it is the Singleplayer world. If i use step in / step out code lines several times, the game will stop working correctly and then shows "connection lost" and "time out" (but not crashes as I mentioned). I guess it is because the debug mode paused the program and the game thought it was a serious lag and the connention was lost. How can i avoid this problem?
September 10, 20223 yr 23 minutes ago, jissee said: If i use step in / step out code lines several times, the game will stop working correctly and then shows "connection lost" and "time out" (but not crashes as I mentioned). You then need to go back to the Title Screen? What code are you talking about? What does the code do and where is it located?
September 12, 20223 yr Author On 9/10/2022 at 11:32 PM, Luis_ST said: You then need to go back to the Title Screen? What code are you talking about? What does the code do and where is it located? Yes, after i press f9 and run the game, i need to go back to the title screen. i am debugging entity tick() code.
September 12, 20223 yr 2 hours ago, jissee said: i am debugging entity tick() code. Could you please provide a bit more informations, what did the Entity does, what the code does your debugging?
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.