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

stepping into System.out.println in jdb ends up in BreakpointHandler, hung threa

    Details

    • Subcomponent:
    • Resolved In Build:
      1.1.4
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Not verified

      Description

      The Problem
      >
      >If one attempts to step into a call to System.out.println, the
      >BreakpointHandler thread appears to stop on a breakpoint. Further stepping
      >results in hung threads.
      >
      >Sample Program
      >
      >
      >public class Bug12 {
      > public static void main(String argv[]) {
      > System.out.println("Hello world.\n");
      > }
      >}
      >
      >
      >
      >To demonstrate the problem, run "jdb Bug12" and enter the following jdb
      >commands:
      >
      >
      >stop in Bug12.main
      >run
      >step
      >
      >
      >
      >You will then see the following output:
      >
      >
      >Breakpoint hit: sun.tools.debug.BreakpointHandler.getOpcode
      >(BreakpointHandler:43)
      >

        Attachments

          Activity

            People

            • Assignee:
              rfield Robert Field
              Reporter:
              mmma Marvin Ma (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: