Mercurial > hg > truffle
diff truffle/com.oracle.truffle.api/src/com/oracle/truffle/api/debug/SuspendedEvent.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 |
line wrap: on
line diff
--- a/truffle/com.oracle.truffle.api/src/com/oracle/truffle/api/debug/SuspendedEvent.java Wed Jul 22 13:07:02 2015 +0200 +++ b/truffle/com.oracle.truffle.api/src/com/oracle/truffle/api/debug/SuspendedEvent.java Wed Jul 22 14:25:03 2015 +0200 @@ -44,8 +44,8 @@ * {@link Debugger#setLineBreakpoint(int, com.oracle.truffle.api.source.LineLocation, boolean) * breakpoint} or during {@link #prepareStepInto(int) stepping}. Methods in this event can only be * used while the handlers process the event. Then the state of the event becomes invalid and - * subsequent calls to the event methods yield {@link IllegalStateException}. - * + * subsequent calls to the event methods yield {@link IllegalStateException}. One can call + * {@link #getDebugger()} and keep reference to it for as long as necessary. */ public final class SuspendedEvent { private final List<String> recentWarnings; @@ -81,7 +81,7 @@ } /** - * Debugger associated with the just suspended execution. This debuger remains valid after the + * Debugger associated with the just suspended execution. This debugger remains valid after the * event is processed, it is possible and suggested to keep a reference to it and use it any * time later when evaluating sources in the {@link TruffleVM}. *