public final class Breakpoint.Builder extends Object
breakpoint.Breakpoint.newBuilder(Source),
Breakpoint.newBuilder(URI),
Breakpoint.newBuilder(SourceSection)| Modifier and Type | Method and Description |
|---|---|
Breakpoint |
build() |
Breakpoint.Builder |
ignoreCount(int ignoreCount)
Specifies the number of times a breakpoint is ignored until it hits (i.e.
|
Breakpoint.Builder |
lineIs(int line)
Specifies the breakpoint's line number.
|
Breakpoint.Builder |
oneShot()
Specifies that the breakpoint will disable
itself after suspending execution, i.e.
|
public Breakpoint.Builder lineIs(int line)
Breakpoint.newBuilder(SourceSection).line - 1-based line numberIllegalStateException - if line < 1public Breakpoint.Builder ignoreCount(int ignoreCount)
Breakpoint.setIgnoreCount(int)public Breakpoint.Builder oneShot()
Disabled one-shot breakpoints can be re-enabled.
public Breakpoint build()