jdk/src/jdk.jdi/share/classes/com/sun/jdi/event/StepEvent.java
changeset 45564 0149773a140c
parent 34894 3248b89d1921
equal deleted inserted replaced
45563:ece4ae6beba3 45564:0149773a140c
     1 /*
     1 /*
     2  * Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1998, 2017, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    23  * questions.
    23  * questions.
    24  */
    24  */
    25 
    25 
    26 package com.sun.jdi.event;
    26 package com.sun.jdi.event;
    27 
    27 
    28 import com.sun.jdi.*;
    28 import com.sun.jdi.request.StepRequest;
    29 
    29 
    30 /**
    30 /**
    31  * Notification of step completion in the target VM.
    31  * Notification of step completion in the target VM.
    32  * The step event
    32  * The step event is generated immediately before the code at its location
    33  * is generated immediately before the code at its location is executed;
    33  * is executed. Thus, if the step is entering a new method (as might occur
    34  * thus, if the step is entering a new method (as might occur with
    34  * with {@link StepRequest#STEP_INTO StepRequest.STEP_INTO})
    35  * {@link com.sun.jdi.request.StepRequest#STEP_INTO StepRequest.STEP_INTO})
       
    36  * the location of the event is the first instruction of the method.
    35  * the location of the event is the first instruction of the method.
    37  * When a step leaves a method, the location of the event will be the
    36  * When a step leaves a method, the location of the event will be the
    38  * first instruction after the call in the calling method; note that
    37  * first instruction after the call in the calling method; note that
    39  * this location may not be at a line boundary, even if
    38  * this location may not be at a line boundary, even if
    40  * {@link com.sun.jdi.request.StepRequest#STEP_LINE StepRequest.STEP_LINE}
    39  * {@link StepRequest#STEP_LINE StepRequest.STEP_LINE} was used.
    41  * was used.
       
    42  *
    40  *
    43  * @see com.sun.jdi.request.StepRequest
    41  * @see StepRequest
    44  * @see EventQueue
    42  * @see EventQueue
    45  *
    43  *
    46  * @author Robert Field
    44  * @author Robert Field
    47  * @since  1.3
    45  * @since  1.3
    48  */
    46  */