Package com.sun.jdi.event

Examples of com.sun.jdi.event.StepEvent


              final ThreadReference thread;
              if (event instanceof BreakpointEvent) {
                BreakpointEvent be = (BreakpointEvent) event;
                thread = be.thread();
              } else {
                StepEvent se = (StepEvent) event;
                thread = se.thread();
                this.vm.eventRequestManager().deleteEventRequest(se.request());
              }
              SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                  net.sf.rej.gui.event.Event event = new net.sf.rej.gui.event.Event(EventType.DEBUG_SUSPENDED);
                  event.setVM(new VirtualMachineWrapper(vm));
View Full Code Here


      }
      for (final EventIterator ei = es.eventIterator(); ei.hasNext();) {
        final Event e = ei.nextEvent();
        consoleOut.println("== Event received: " + e.toString());
        if (!done && e instanceof StepEvent) {
          final StepEvent se = (StepEvent) e;
          final ThreadReference tr = se.thread();
          vm.eventRequestManager().deleteEventRequest(se.request());
          final List stepRequests = new ArrayList(vm.eventRequestManager().stepRequests());
          for (int i = 0; i < stepRequests.size(); i++) {
            ((StepRequest) stepRequests.get(i)).disable();
          }
          if (disableSecurityManager) {
View Full Code Here

     *      EventSet)
     */
    public boolean handleEvent(Event event, JDIDebugTarget target,
        boolean suspendVote, EventSet eventSet) {
      try {
        StepEvent stepEvent = (StepEvent) event;
        Location currentLocation = stepEvent.location();

        if (!target.isStepThruFilters()) {
          if (shouldDoStepReturn()) {
            deleteStepRequest();
            createSecondaryStepRequest(StepRequest.STEP_OUT);
View Full Code Here

                                              (MethodExitRequest) exitEvent.request(), exitEvent.method(),
                                              exitEvent.returnValue(), exitEvent.location() );
                    }
                    else if ( event instanceof StepEvent )
                    {
                        StepEvent stepEvent = (StepEvent) event;
                        handler.onStep( suspension, stepEvent.virtualMachine(), stepEvent.thread(),
                                        (StepRequest) stepEvent.request(), stepEvent.location() );
                    }
                    else if ( event instanceof MonitorContendedEnterEvent )
                    {
                        MonitorContendedEnterEvent contendedEnterEvent = (MonitorContendedEnterEvent) event;
                        handler.onContendedMonitorBlocked( suspension, event.virtualMachine(),
View Full Code Here

TOP

Related Classes of com.sun.jdi.event.StepEvent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.