| Package | Description |
|---|---|
| processing.mode.java | |
| processing.mode.java.debug |
| Modifier and Type | Field and Description |
|---|---|
protected Map<LineID,LineID> |
Debugger.runtimeLineChanges |
protected Map<LineID,LineID> |
Debugger.runtimeLineChanges |
| Modifier and Type | Method and Description |
|---|---|
protected LineID |
JavaEditor.getCurrentLineID()
Retrieve line of sketch where the cursor currently resides.
|
LineID |
JavaEditor.getLineIDInCurrentTab(int lineIdx)
Retrieve a
LineID object for a line on the current tab. |
LineID |
Debugger.javaToSketchLine(LineID javaLine)
Translate a line (index) from java space to sketch space.
|
protected LineID |
Debugger.locationToLineID(com.sun.jdi.Location l)
Translate a java source location to a sketch line id.
|
protected LineID |
Debugger.originalToRuntimeLine(LineID line)
Get the runtime-changed line id for an original sketch line.
|
protected LineID |
Debugger.runtimeToOriginalLine(LineID line)
Get the original line id for a sketch line that was changed at runtime.
|
LineID |
Debugger.sketchToJavaLine(LineID sketchLine)
Translate a line (index) from sketch space to java space.
|
| Modifier and Type | Method and Description |
|---|---|
protected List<LineID> |
JavaEditor.stripBreakpointComments()
Extract breakpointed lines from source code marker comments.
|
| Modifier and Type | Method and Description |
|---|---|
void |
JavaEditor.addBreakpointedLine(LineID lineID)
Add highlight for a breakpointed line.
|
protected boolean |
Debugger.hasBreakpoint(LineID line)
Check if there's a breakpoint on a particular line.
|
boolean |
JavaEditor.isInCurrentTab(LineID line)
Check whether a
LineID is on the current tab. |
LineID |
Debugger.javaToSketchLine(LineID javaLine)
Translate a line (index) from java space to sketch space.
|
protected LineID |
Debugger.originalToRuntimeLine(LineID line)
Get the runtime-changed line id for an original sketch line.
|
protected LineID |
Debugger.runtimeToOriginalLine(LineID line)
Get the original line id for a sketch line that was changed at runtime.
|
void |
JavaEditor.setCurrentLine(LineID line)
Set the line to highlight as currently suspended at.
|
LineID |
Debugger.sketchToJavaLine(LineID sketchLine)
Translate a line (index) from sketch space to java space.
|
| Modifier and Type | Field and Description |
|---|---|
protected LineID |
LineBreakpoint.line |
protected LineID |
LineHighlight.lineID |
| Modifier and Type | Method and Description |
|---|---|
LineID |
LineHighlight.getLineID()
Retrieve the line id of this
LineHighlight. |
LineID |
LineBreakpoint.lineID()
Get the line id this breakpoint is on.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
LineHighlight.isOnLine(LineID testLine)
Test if this highlight is on a certain line.
|
boolean |
LineBreakpoint.isOnLine(LineID testLine)
Test if this breakpoint is on a certain line.
|
void |
LineHighlight.lineChanged(LineID line,
int oldLineIdx,
int newLineIdx)
Event handler for line number changes (due to editing).
|
| Constructor and Description |
|---|
LineBreakpoint(LineID line,
Debugger dbg)
Create a
LineBreakpoint. |
LineHighlight(LineID lineID,
JavaEditor editor)
Create a
LineHighlight. |
Copyright © 2001–2017 Processing Foundation. All rights reserved.