< prev index next >

src/jdk.jdwp.agent/share/native/libjdwp/stepControl.c

Print this page
@@ -461,18 +461,16 @@
          /*
           * This handler is relevant only to step into
           */
          JDI_ASSERT(step->depth == JDWP_STEP_DEPTH(INTO));
  
-         if (    (!eventFilter_predictFiltering(step->stepHandlerNode,
-                                                clazz, classname))
+         if (    (!eventFilter_predictFiltering(step->stepHandlerNode, clazz, classname))
               && (   step->granularity != JDWP_STEP_SIZE(LINE)
                   || hasLineNumbers(method) ) ) {
              /*
-              * We've found a suitable method in which to stop. Step
-              * until we reach the next safe location to complete the step->,
-              * and we can get rid of the method entry handler.
+              * We've found a suitable method in which to resume stepping.
+              * We can also get rid of the method entry handler now.
               */
              enableStepping(thread);
              if ( step->methodEnterHandlerNode != NULL ) {
                  (void)eventHandler_free(step->methodEnterHandlerNode);
                  step->methodEnterHandlerNode = NULL;
< prev index next >