NiqT
NiqT

Reputation: 11

org.eclipse.jdi.internal.connect.ConnectorImpI$StringArgumentImpI.<int>(Lorg/eclipse/jdi

So I code minecraft mods in java on visual studio code, but yesterday I started getting an error when I try to launch the game and debug it.

The error is "org.exlipse.jdi.internal.connect.ConnectorImpI$StringArgumentImpI.<int>(Lorg/eclipse/jdi..."

I have tried reinstalling vscode, reinstall all the mod assests but its not working. Here is my code :

{
  "version": "0.2.0",
  "configurations": [
    {
      "type": "java",
      "name": "Minecraft Client",
      "request": "launch",
      "cwd": "${workspaceFolder}/run",
      "console": "internalConsole",
      "stopOnEntry": false,
      "mainClass": "net.fabricmc.devlaunchinjector.Main",
      "vmArgs": "-Dfabric.dli.config\u003dE:\\Documents\\Ruby\\.gradle\\loom-cache\\launch.cfg -Dfabric.dli.env\u003dclient -Dfabric.dli.main\u003dnet.fabricmc.loader.launch.knot.KnotClient",
      "args": ""
    },
    {
      "type": "java",
      "name": "Minecraft Server",
      "request": "launch",
      "cwd": "${workspaceFolder}/run",
      "console": "internalConsole",
      "stopOnEntry": false,
      "mainClass": "net.fabricmc.devlaunchinjector.Main",
      "vmArgs": "-Dfabric.dli.config\u003dE:\\Documents\\Ruby\\.gradle\\loom-cache\\launch.cfg -Dfabric.dli.env\u003dserver -Dfabric.dli.main\u003dnet.fabricmc.loader.launch.knot.KnotServer",
      "args": "nogui"
    }
  ]
}

If there is someone who knows how to fix this error then it would be greatly appreciated. Thanks in advance.

https://i.sstatic.net/u8RZa.png

Upvotes: 1

Views: 244

Answers (1)

Molly Wang-MSFT
Molly Wang-MSFT

Reputation: 9511

The question you've encountered is already put in github, please view After upgrade from vscode-java v0.77.0 to v0.78.0 can't debug tests

So, the workaround is downgrading JavaLanguage Support for Java by Red Hat version to 0.77.0. Please refer to Detailed steps.

Update: the bug is fixed by engineers, release 0.33.1 for Debugger for Java extension. It will work with both [email protected] and 0.78.0. Please have a try.

Upvotes: 1

Related Questions