@Override public void consume(@NotNull DebuggerState o) { if (o.exited) { stop(); return; } XBreakpoint<DlvBreakpointProperties> find = findBreak(o.breakPoint); send(new DlvRequest.StacktraceGoroutine()).done(locations -> { DlvSuspendContext context = new DlvSuspendContext(DlvDebugProcess.this, o.currentThread.id, locations, getProcessor()); XDebugSession session = getSession(); if (find == null) { session.positionReached(context); } else { session.breakpointReached(find, null, context); } }); }
session.positionReached(context); } else { session.breakpointReached(breakpoint, null, context);
@Override public void run() { XDebugSession session = getDebugSession(); XLineBreakpoint breakpoint = PerlDebugUtil.findBreakpoint(session.getProject(), this); if (breakpoint != null) { session.breakpointReached(breakpoint, logmessage, getSuspendContext()); } if (suspend) { super.run(); } }
boolean suspendProcess = getSession().breakpointReached(breakpoint, null, suspendContext); if (!suspendProcess) {