void (SuspendContextImpl suspendContext, ThreadReference thread) { ThreadReferenceProxyImpl oldThread = suspendContext.getThread(); suspendContext.setThread(thread); if (oldThread == null) { //this is the first event in the eventSet that we process suspendContext.getDebugProcess().beforeSuspend(suspendContext); } }