< prev index next >

src/jdk.jdi/share/classes/com/sun/tools/example/debug/tty/TTY.java

Print this page
@@ -1161,10 +1161,14 @@
                             connectSpec);
                  return;
              }
          }
  
+         if (connectSpec.startsWith("com.sun.jdi.CommandLineLaunch:")) {
+             connectSpec += "enumeratevthreads=y,notifyvthreads=y,";
+         }
+ 
          try {
              Env.init(connectSpec, launchImmediately, traceFlags, javaArgs);
              new TTY();
          } catch(Exception e) {
              MessageOutput.printException("Internal exception:", e);
< prev index next >