|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.github.croesch.micro_debug.gui.debug.MicroLineBreakpointHandler
public final class MicroLineBreakpointHandler
A wrapper for the micro code breakpoint management in the debugger for the specific view.
| Constructor Summary | |
|---|---|
MicroLineBreakpointHandler(com.github.croesch.micro_debug.debug.BreakpointManager bpm)
Construct this handler to manage micro breakpoints. |
|
| Method Summary | |
|---|---|
protected void |
addBreakpoint(int line)
Adds a breakpoint at the given line. |
protected com.github.croesch.micro_debug.debug.BreakpointManager |
getBreakpointManager()
Returns the BreakpointManager containing all information about breakpoints in the debugger. |
boolean |
isBreakpoint(int line)
Returns whether there is currently a breakpoint set for the given line. |
protected void |
removeBreakpoint(int line)
Removes a breakpoint at the given line. |
void |
toggleBreakpoint(int line)
Toggles the breakpoint for the given line: Switches it on, if it was off; switches it
off, if it was on. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MicroLineBreakpointHandler(com.github.croesch.micro_debug.debug.BreakpointManager bpm)
bpm - the BreakpointManager that has all information about breakpoints in the debugger.| Method Detail |
|---|
public boolean isBreakpoint(int line)
line - the number of the line that should be checked for a breakpoint.
true whether there is currently a breakpoint in the given line,false otherwise.protected void addBreakpoint(int line)
line - the line to set the breakpointprotected void removeBreakpoint(int line)
line - the line to remove any breakpoint@NotNull protected com.github.croesch.micro_debug.debug.BreakpointManager getBreakpointManager()
BreakpointManager containing all information about breakpoints in the debugger.
BreakpointManager that has all information about breakpointspublic final void toggleBreakpoint(int line)
on, if it was off; switches it
off, if it was on.
toggleBreakpoint in interface ILineBreakPointManagerline - the number of the line to toggle the breakpoint
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||