Jump to content

Recommended Posts

Posted

I'm having this issue when debugging.  It's happening the same in both of my environments, so I'm assuming it's actually a problem with the source jar.  If I remove the source jar, IntelliJ will decompile the classes and debugging works fine, but obviously I lose documentation and coherent variable names, so that's not ideal.  I haven't see any other mention of this, is it a known issue?1895924529_2019-02-08(3).thumb.png.3e48f1ed70f670478b90d5142e8354e1.png

Posted

This usually only happens to me if I venture deep into the launch(wrapper) code. How did you set up your workspace?

About Me

Spoiler

My Discord - Cadiboo#8887

My WebsiteCadiboo.github.io

My ModsCadiboo.github.io/projects

My TutorialsCadiboo.github.io/tutorials

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Posted

Okay, here's what I ultimately tried:

  1. Delete entire gradle cache
  2. Freshly clone project
  3. Run ./gradlew genIntellijRuns
  4. Step 3 again as per https://gist.github.com/mcenderdragon/6c7af2daf6f72b0cadf0c63169a87583 (is that what you mean when you say "Import the project twice"?)
  5. Open the project in IntelliJ
  6. Add a breakpoint in my code on a call to code in vanilla/forge
  7. Run in debug mode, trigger breakpoint, press F7 to step into vanilla/forge code

The same thing happens as in my screenshot above, with the source not matching the bytecode.  The source jar is attached and I can browse through it normally, but it doesn't match in debug mode.

Posted

I believe he means you need to refresh the gradle project again. On IntelliJ go to the gradle tab and hit the ? button

About Me

Spoiler

My Discord - Cadiboo#8887

My WebsiteCadiboo.github.io

My ModsCadiboo.github.io/projects

My TutorialsCadiboo.github.io/tutorials

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Posted

Just tried that, but no dice. Also tried with pretty much every Java 8/9/10 version and bytecode version combination possible with identical results each time.

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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