public class SimpleStdOutDebugListener extends Object implements DebugListener
Constructor and Description |
---|
SimpleStdOutDebugListener()
Pipes to System.out
|
SimpleStdOutDebugListener(PrintStream pstream,
InputStream istream) |
Modifier and Type | Method and Description |
---|---|
void |
addBreakpoint(int lineNumber) |
boolean |
isEcho() |
void |
onLineNumber(DebugEvent event)
A line has been encountered
|
void |
removeAllBreakpoints() |
void |
removeBreakpoint(int lineNumber) |
void |
setEcho(boolean echo)
Print out each line to standard out
|
public SimpleStdOutDebugListener(PrintStream pstream, InputStream istream)
public SimpleStdOutDebugListener()
public void onLineNumber(DebugEvent event)
DebugListener
onLineNumber
in interface DebugListener
public void setEcho(boolean echo)
echo
- the echo to setpublic boolean isEcho()
public void addBreakpoint(int lineNumber)
public void removeBreakpoint(int lineNumber)
public void removeAllBreakpoints()
Copyright © 2010–2015. All rights reserved.