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

TTY: Warn user before accepting a breakpoint if class is on exclude list

XMLWordPrintable

    • generic, sparc
    • generic, solaris_7



      Name: tb29552 Date: 06/14/2002


      jdb starts up with a default exclude list of:
         java.*,javax.*,sun.*,com.sun.*,


      Since breakpoint requests do not have this filter added,
      you can set and hit a breakpoint in one of those classes.

      As soon as you try a step or next, the exclude filter added
      to the EventRequest means you won't ever be notified of the
      StepEvent (the back end will filter it out, as instructed).
      The debugee program will act as if you had entered a cont
      or resume instead of step/next. Somewhat surprising to the user.

      It would be better for jdb to follow the principle of least
      surprise and adjust the exclude list when a user shows interest
      in a method by setting a breakpoint there. At the very least,
      jdb should warn the user so they can change the exclude list
      themselves.


      ======================================================================

            Unassigned Unassigned
            tbell Tim Bell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: