|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.github.croesch.micro_debug.debug.BreakpointManager
public final class BreakpointManager
A manager for break points in the debugger.
| Constructor Summary | |
|---|---|
BreakpointManager()
|
|
| Method Summary | |
|---|---|
void |
addMacroBreakpoint(Integer line)
Adds a breakpoint for the given line number in the macro code. |
void |
addMicroBreakpoint(Integer line)
Adds a breakpoint for the given line number in the micro code. |
void |
addRegisterBreakpoint(Register r,
Integer val)
Adds a breakpoint for the given Register and the given value. |
boolean |
isBreakpoint(int microLine,
int macroLine)
Returns whether any break point condition is met. |
void |
listBreakpoints()
Lists all breakpoints. |
void |
removeBreakpoint(int id)
Removes the breakpoint with the given unique id. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BreakpointManager()
| Method Detail |
|---|
public boolean isBreakpoint(int microLine,
int macroLine)
microLine - the number of the line in micro code being executed nextmacroLine - the number of the line in macro code being executed next
true if a break point is met,false otherwise
public void addRegisterBreakpoint(Register r,
Integer val)
Register and the given value.
r - the Register to watch for the given valueval - the value the debugger should break if the given Register has it.public void addMicroBreakpoint(Integer line)
line - the line number in micro code the debugger should break atpublic void addMacroBreakpoint(Integer line)
line - the line number in macro code the debugger should break atpublic void removeBreakpoint(int id)
id - the unique id of the breakpoint to removepublic void listBreakpoints()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||