@Override public void setBreakpoint( String typeId, String file, int line, String condition, String logExpression) { final SetBreakpointCommand command = new SetBreakpointCommand(this, typeId, file, line, condition, logExpression); execute(command); }
@Override public List<PydevCompletionVariant> getCompletions( String threadId, String frameId, String prefix) { final GetCompletionsCommand command = new GetCompletionsCommand(this, threadId, frameId, prefix); execute(command); return command.getCompletions(); }
@Override public void removeTempBreakpoint(String file, int line) { String type = myTempBreakpoints.get(Pair.create(file, line)); if (type != null) { final RemoveBreakpointCommand command = new RemoveBreakpointCommand(this, type, file, line); execute(command); // remove temp. breakpoint } else { LOG.error("Temp breakpoint not found for " + file + ":" + line); } }
@Override public void removeExceptionBreakpoint(ExceptionBreakpointCommandFactory factory) { for (RemoteDebugger d : allDebuggers()) { d.execute(factory.createRemoveCommand(d)); } }
@Override public void removeExceptionBreakpoint(ExceptionBreakpointCommandFactory factory) { execute(factory.createRemoveCommand(this)); }
@Override public void addExceptionBreakpoint(ExceptionBreakpointCommandFactory factory) { execute(factory.createAddCommand(this)); }
@Override public void removeBreakpoint(String typeId, String file, int line) { final RemoveBreakpointCommand command = new RemoveBreakpointCommand(this, typeId, file, line); execute(command); }
@Override public void setTempBreakpoint(String type, String file, int line) { final SetBreakpointCommand command = new SetBreakpointCommand(this, type, file, line); execute(command); // set temp. breakpoint myTempBreakpoints.put(Pair.create(file, line), type); }
@Override public void resumeOrStep(String threadId, ResumeOrStepCommand.Mode mode) { final ResumeOrStepCommand command = new ResumeOrStepCommand(this, threadId, mode); execute(command); }
@Override public void smartStepInto(String threadId, String functionName) { final SmartStepIntoCommand command = new SmartStepIntoCommand(this, threadId, functionName); execute(command); }
@Override public void suspendThread(String threadId) { final SuspendCommand command = new SuspendCommand(this, threadId); execute(command); }