TTY: Add documentation for "jdb -version" to "jdb -help"

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Won't Fix
    • Priority: P4
    • 10
    • Affects Version/s: 5.0
    • Component/s: core-svc
    • generic
    • generic

      jdb can return it's version, but the option "-version" is undocumented in jdb -help.

      % jdb -version
      This is jdb version 1.5 (J2SE version 1.5.0)

      % jdb -help
      Usage: jdb <options> <class> <arguments>

      where options include:
          -help print out this message and exit
          -sourcepath <directories separated by ":">
                            directories in which to look for source files
          -attach <address>
                            attach to a running VM at the specified address using standard connector
          -listen <address>
                            wait for a running VM to connect at the specified address using standard connector
          -listenany
                            wait for a running VM to connect at any available address using standard connector
          -launch
                            launch VM immediately instead of waiting for 'run' command
          -listconnectors list the connectors available in this VM
          -connect <connector-name>:<name1>=<value1>,...
                            connect to target VM using named connector with listed argument values
          -dbgtrace [flags] print info for debugging jdb
          -tclient run the application in the Hotspot(tm) Performance Engine (Client)
          -tserver run the application in the Hotspot(tm) Performance Engine (Server)

      options forwarded to debuggee process:
          -v -verbose[:class|gc|jni]
                            turn on verbose mode
          -D<name>=<value> set a system property
          -classpath <directories separated by ":">
                            list directories in which to look for classes
          -X<option> non-standard target VM option

      <class> is the name of the class to begin debugging
      <arguments> are the arguments passed to the main() method of <class>

      For command help type 'help' at jdb prompt

      ###@###.### 2005-1-21 12:37:48 GMT

            Assignee:
            Unassigned
            Reporter:
            Johann Löfflmann (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: