Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Questions about debugging a particular area of lag

Featured Replies

Posted

Bit of an open question, I'll try and be concise.

 

On a 1.7.10 server modpack, all players experience significant lag when logging in to the server and when respawning. I have a hunch that it's waiting on some mod for player-related data to save or load causing it. Questions are:

 

1) Is this actually possible?

2) Could somebody summarize the "spawn" logic for me or point me in the right direction to examine the flow of code for login/respawn of players? I can check this out easily in an Forge-src workspace.

3) Does anybody have any tips on where I might be able to throw in some debug info in source to diagnose this? (I've never compiled Forge from source before, I'm hoping it's not too convoluted a process).

 

Or, better yet, is there some kind of Java tool that I can use to debug or... generate a stacktrace whenever a method is called...? Or something like that? I guess similar to a breakpoint in an IDE but to do with compiled code (since I obviously can't run a modpack server with forge sources)? Or if any more experienced Java developers could point me to any other tool that might assist me in diagnosing it would be great.. if such a tool like that exists it'd be pretty awesome.

 

Thanks!

Windows software, Android hacking, and other curios

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.