コード例 #1
0
 @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);
 }
コード例 #2
0
 @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();
 }
コード例 #3
0
 @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);
   }
 }
コード例 #4
0
 @Override
 public void removeExceptionBreakpoint(ExceptionBreakpointCommandFactory factory) {
   for (RemoteDebugger d : allDebuggers()) {
     d.execute(factory.createRemoveCommand(d));
   }
 }
コード例 #5
0
 @Override
 public void removeExceptionBreakpoint(ExceptionBreakpointCommandFactory factory) {
   execute(factory.createRemoveCommand(this));
 }
コード例 #6
0
 @Override
 public void addExceptionBreakpoint(ExceptionBreakpointCommandFactory factory) {
   execute(factory.createAddCommand(this));
 }
コード例 #7
0
 @Override
 public void removeBreakpoint(String typeId, String file, int line) {
   final RemoveBreakpointCommand command = new RemoveBreakpointCommand(this, typeId, file, line);
   execute(command);
 }
コード例 #8
0
 @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);
 }
コード例 #9
0
 @Override
 public void resumeOrStep(String threadId, ResumeOrStepCommand.Mode mode) {
   final ResumeOrStepCommand command = new ResumeOrStepCommand(this, threadId, mode);
   execute(command);
 }
コード例 #10
0
 @Override
 public void smartStepInto(String threadId, String functionName) {
   final SmartStepIntoCommand command = new SmartStepIntoCommand(this, threadId, functionName);
   execute(command);
 }
コード例 #11
0
 @Override
 public void suspendThread(String threadId) {
   final SuspendCommand command = new SuspendCommand(this, threadId);
   execute(command);
 }