コード例 #1
0
  /**
   * Add an exception breakpoint for the given class which should be a subclass of Throwable. The
   * emode parameters indicates when the breakpoint should be triggered (i.e. when the caught or
   * uncaught exceptions).
   */
  @Override
  public void addExceptionBreakpoint(
      String proj, String cls, BumpExceptionMode emode, BumpBreakMode mode) {
    if (mode == BumpBreakMode.DEFAULT) mode = break_mode;
    if (emode == BumpExceptionMode.DEFAULT) emode = exception_mode;

    bump_client.addExceptionBreakpoint(
        proj, cls, emode.isCaught(), emode.isUncaught(), mode.isSuspendVm());
  }