processing.app.debug
Class Runner

java.lang.Object
  extended by processing.app.debug.Runner
All Implemented Interfaces:
MessageConsumer

public class Runner
extends java.lang.Object
implements MessageConsumer

Runs a compiled sketch. As of release 0136, all sketches are run externally to the environment so that a debugging interface can be used. This opens up future options for a decent debugger, but in the meantime fixes several problems with output and error streams, messages getting lost on Mac OS X, the run/stop buttons not working, libraries not shutting down, exceptions not coming through, exceptions being printed twice, having to force quit if you make a bad while() loop, and so on.


Constructor Summary
Runner(Sketch sketch, java.lang.String appletClassName, boolean presenting, RunnerListener listener)
           
 
Method Summary
 void close()
           
 void exception(com.sun.jdi.event.ExceptionEvent event)
           
 void launch()
           
 void message(java.lang.String s)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Runner

public Runner(Sketch sketch,
              java.lang.String appletClassName,
              boolean presenting,
              RunnerListener listener)
Method Detail

launch

public void launch()

exception

public void exception(com.sun.jdi.event.ExceptionEvent event)

close

public void close()

message

public void message(java.lang.String s)
Specified by:
message in interface MessageConsumer