Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/322.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/cplusplus/137.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Debuggee节点在VMStartEvent | Java调试接口之后立即发送VMDeatheEvent_Java_Debugging_Intellij Idea_Remote Debugging - Fatal编程技术网

Debuggee节点在VMStartEvent | Java调试接口之后立即发送VMDeatheEvent

Debuggee节点在VMStartEvent | Java调试接口之后立即发送VMDeatheEvent,java,debugging,intellij-idea,remote-debugging,Java,Debugging,Intellij Idea,Remote Debugging,我正在使用Java和Java调试接口开发一个简单的调试器。我有两个类Debugger和Debuggee。调试器类由用于调试的逻辑组成。Debuggee类是正在调试的类 当我在终端上运行应用程序时,它工作得非常好。在调试器VM中,它需要几种类型的事件 VMStartEvent 类准备事件 断点事件 VMDeathEvent VMDisconnect事件 在终端上运行应用程序时,它工作得非常好。debuggee节点发送ClassPrepareEvent和BreakpointEvent事件。但在In

我正在使用Java和Java调试接口开发一个简单的调试器。我有两个类
Debugger
Debuggee
。调试器类由用于调试的逻辑组成。Debuggee类是正在调试的类

当我在终端上运行应用程序时,它工作得非常好。在调试器VM中,它需要几种类型的事件

  • VMStartEvent
  • 类准备事件
  • 断点事件
  • VMDeathEvent
  • VMDisconnect事件
  • 在终端上运行应用程序时,它工作得非常好。debuggee节点发送ClassPrepareEvent和BreakpointEvent事件。但在IntelliJ中运行应用程序时,它不会发送ClassPreparationEvent和BreakPointEvent

    它在VMStartEvent之后发送VMDeatheEvent,然后在VMDisconnectEvent之后发送VMDeatheEvent

    为什么会发生这种行为?我应该在IntelliJ中设置任何配置吗