Java Code Examples for com.sun.jdi.request.EventRequestManager#deleteEventRequest()
The following examples show how to use
com.sun.jdi.request.EventRequestManager#deleteEventRequest() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: DebugUtility.java From java-debug with Eclipse Public License 1.0 | 5 votes |
/** * Remove the event request from the vm. If the vm has terminated, do nothing. * @param eventManager * The event request manager. * @param request * The target event request. */ public static void deleteEventRequestSafely(EventRequestManager eventManager, EventRequest request) { try { eventManager.deleteEventRequest(request); } catch (VMDisconnectedException ex) { // ignore. } }
Example 2
Source File: HotSwapperJpda.java From HotswapAgent with GNU General Public License v2.0 | 4 votes |
@SuppressWarnings("unused") private void deleteEventRequest(EventRequestManager manager, MethodEntryRequest request) { manager.deleteEventRequest(request); }
Example 3
Source File: HotSwapper.java From HotswapAgent with GNU General Public License v2.0 | 4 votes |
@SuppressWarnings("unused") private void deleteEventRequest(EventRequestManager manager, MethodEntryRequest request) { manager.deleteEventRequest(request); }