comparison truffle/com.oracle.truffle.api/src/com/oracle/truffle/api/debug/Breakpoint.java @ 22008:02e4cf046653

Providing a bit more meaningful documentation to our recent debugging improvements
author Jaroslav Tulach <jaroslav.tulach@oracle.com>
date Wed, 22 Jul 2015 14:25:03 +0200
parents 5bc7f7b867ab
children f879b1fe3773
comparison
equal deleted inserted replaced
22007:12891f4cae7a 22008:02e4cf046653
24 */ 24 */
25 package com.oracle.truffle.api.debug; 25 package com.oracle.truffle.api.debug;
26 26
27 import com.oracle.truffle.api.instrument.*; 27 import com.oracle.truffle.api.instrument.*;
28 import com.oracle.truffle.api.source.*; 28 import com.oracle.truffle.api.source.*;
29 import com.oracle.truffle.api.vm.TruffleVM;
29 import java.io.IOException; 30 import java.io.IOException;
30 31
32 /**
33 * Breakpoint in a {@link TruffleVM} with {@link com.oracle.truffle.api.debug debugging turned on}.
34 * You can ask
35 * {@link Debugger#setLineBreakpoint(int, com.oracle.truffle.api.source.LineLocation, boolean)} or
36 * {@link Debugger#setTagBreakpoint(int, com.oracle.truffle.api.instrument.SyntaxTag, boolean)} to
37 * create an instance of {@link Breakpoint}.
38 */
31 public abstract class Breakpoint { 39 public abstract class Breakpoint {
32 40
33 /** 41 /**
34 * A general model of the states occupied by a breakpoint during its lifetime. 42 * A general model of the states occupied by a {@link Breakpoint} during its lifetime.
35 */ 43 */
36 public enum State { 44 public enum State {
37 45
38 /** 46 /**
39 * Not attached, enabled. 47 * Not attached, enabled.