@@ -329,16 +329,13 @@ protected VirtualMachine launchVirtualMachine(String[] vmParams,
329329 // Using localhost instead of 127.0.0.1 sometimes causes a
330330 // "Transport Error 202" error message when trying to run.
331331 // http://dev.processing.org/bugs/show_bug.cgi?id=895
332- String addr = "127.0.0.1:" + (8000 + (int ) (Math .random () * 1000 ));
332+ // String addr = "127.0.0.1:" + (8000 + (int) (Math.random() * 1000));
333333 //String addr = "localhost:" + (8000 + (int) (Math.random() * 1000));
334- // String addr = "" + (8000 + (int) (Math.random() * 1000));
334+ String addr = "" + (8000 + (int ) (Math .random () * 1000 ));
335335
336336 String commandArgs =
337337 "java -Xrunjdwp:transport=dt_socket,address=" + addr + ",suspend=y " ;
338- if (Base .isWindows ()) {
339- commandArgs =
340- "java -Xrunjdwp:transport=dt_shmem,address=" + addr + ",suspend=y " ;
341- } else if (Base .isMacOS ()) {
338+ if (Base .isMacOS ()) {
342339 // Decided to just set this to 1.6 only, because otherwise it's gonna
343340 // be a shitshow if folks are getting Apple's 1.6 with 32-bit and
344341 // Oracle's 1.7 when run in 64-bit mode. ("Why does my sketch suck in
@@ -484,7 +481,7 @@ protected void generateTrace(PrintWriter writer) {
484481 //if (writer != null) {
485482 eventThread = new EventThread (this , vm , excludes , writer );
486483 eventThread .start ();
487- eventThread .setEventRequests (watchFields );
484+ // eventThread.setEventRequests(watchFields); //redundant?
488485 //}
489486
490487 //redirectOutput();
@@ -538,9 +535,9 @@ protected void generateTrace(PrintWriter writer) {
538535
539536
540537 protected Connector findConnector (String connectorName ) {
541- List connectors = Bootstrap .virtualMachineManager ().allConnectors ();
542- // List connectors =
543- // org.eclipse.jdi.Bootstrap.virtualMachineManager().allConnectors();
538+ // List connectors = Bootstrap.virtualMachineManager().allConnectors();
539+ List connectors =
540+ org .eclipse .jdi .Bootstrap .virtualMachineManager ().allConnectors ();
544541
545542 // debug: code to list available connectors
546543// Iterator iter2 = connectors.iterator();
0 commit comments