Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6181784

Step requests ignored after an exception in debugee

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 6
    • 5.0
    • core-svc
    • None
    • b19
    • x86
    • windows_xp

        1. Load the following class into jdb or any Java IDE
        2. stop at breakpoint at line 3
        3. evaluate the expression "Main.blow()", this should throw an exception in the debugeee VM (the invocation in debugger will throw an InvocationException)
        4. step over ... this will effectively resume debugee, no step event is generated

        Test class:
        public class Main {
          public static void main(String[] args) {
            System.out.println("set breakpoint here");
            System.out.println("does not stop here");
            System.out.println("does not stop here");
          }
          
          private static void blow() {
            throw new NullPointerException();
          }
        }

        This issue was reported against Netbeans 4.0beta, see http://www.netbeans.org/issues/show_bug.cgi?id=50315

        Works OK in 1.4.x releases, does not work since 1.5.0.
        ###@###.### 10/20/04 10:27 GMT

              swamyv Swamy Venkataramanappa
              duke J. Duke
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: