final ErlangProcess erlangProcess = debugTarget
.getOrCreateErlangProcess(getPid(debugTarget));
if (module == null || line == -1) {
erlangProcess.removeStackFrames();
erlangProcess.fireSuspendEvent(DebugEvent.TERMINATE);
}
if (stackFrames != null) {
erlangProcess.setStackFrames(module, line, stackFrames, bindings);
}
erlangProcess.fireSuspendEvent(DebugEvent.TERMINATE);