step command in jdb does not work in certain conditions.

XMLWordPrintable

    • 1.0.2
    • sparc
    • generic
    • Not verified

        475_!jdb
        jdb urltest
        Loading jdb ...
        0xee301bc0:class(urltest)
        > stop in urltest.main
        Breakpoint set in urltest.main
        > run
        run urltest
        running ...
        Breakpoint hit: urltest.main (urltest.java:10)
        main[1] list
        6
        7 class urltest {
        8 public static void main (String args[]) {
        9
        10 => URL y1 = new URL("http", "java.sun.com", 80, "/search.html");
        11 System.out.print("y1.openConnection() " + y1.openConnection().toString() + " \\n");
        12 // sun.net.www.URLConnection uc = y1.openConnection();
        13 // System.out.print(uc.getProperties());
        14
        main[1] where
          [1] urltest.main (urltest.java:10)
        main[1] step
        main[1] Invalid thread specified in breakpoint.
        Breakpoint hit: main[1]
        main[1] step

        The host connection has been closed. This indicates that either
        the Java session exited unexpectedly, or during remote debugging
        the network connection failed.

              Assignee:
              Tom Ball (Inactive)
              Reporter:
              J. Duke
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: