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

no mechanism to turn off full-speed debugging from JDI; unapproved options

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P1 P1
    • None
    • 1.4.0
    • vm-legacy
    • None
    • generic
    • generic

      The only mechanism for turning off full-speed debugging is the switch

      -Xdebug:int

      on the java command line. There are three problems with this sub-option:

      [1] Sub-option is undocumented, non-standard and not approved.
      [2] Most tool vendors use JDI, JDI has no support for -Xdebug
      sub-options (and because of [1] should not)
        [3] The implementation makes the flags order dependent, e.g.:
      "-Xmixed -Xdebug:int" is different than
      "-Xdebug:int -Xmixed", in fact the later will crash

      Vendors will need the ability to turn-off full-speed since it is new
      code and may be unstable and since, at this time, not all functionality
      it supported.

            rfield Robert Field (Inactive)
            rfield Robert Field (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: