How to setup a JDI launching connector?

前端 未结 2 1130
孤城傲影
孤城傲影 2021-01-06 08:41

So I\'m trying to work myself into JDI. I was already successful hooking my debugger application into my debugee program by first starting the debuggee with VM commands:

2条回答
  •  说谎
    说谎 (楼主)
    2021-01-06 09:07

    Did you set your classpath in the LaunchingConnector?

    env.get("options").setValue("-cp " +
      "/my-project/target/classes:" +
      "/Library/Java/JavaVirtualMachines/jdk1.8.0_65.jdk/Contents/Home/lib/tools.jar:" +
      "");
    

提交回复
热议问题