equal
deleted
inserted
replaced
237 * |
237 * |
238 * @param vm the virtual machine to check |
238 * @param vm the virtual machine to check |
239 * @param unbiddenExitHandler the handler, which will accept the exit |
239 * @param unbiddenExitHandler the handler, which will accept the exit |
240 * information |
240 * information |
241 */ |
241 */ |
242 public static void detectJDIExitEvent(VirtualMachine vm, Consumer<String> unbiddenExitHandler) { |
242 public static void detectJdiExitEvent(VirtualMachine vm, Consumer<String> unbiddenExitHandler) { |
243 if (vm.canBeModified()) { |
243 if (vm.canBeModified()) { |
244 new JDIEventHandler(vm, unbiddenExitHandler).start(); |
244 new JdiEventHandler(vm, unbiddenExitHandler).start(); |
245 } |
245 } |
246 } |
246 } |
247 |
247 |
248 /** |
248 /** |
249 * Log a serious unexpected internal exception. |
249 * Log a serious unexpected internal exception. |