src/jdk.jdi/share/classes/com/sun/tools/example/debug/tty/TTYResources.java
author goetz
Tue, 16 Jan 2018 08:48:34 +0100
changeset 48543 7067fe4e054e
parent 47216 71c04702a3d5
child 53782 37c12515c30f
permissions -rw-r--r--
8189102: All tools should support -?, -h and --help Reviewed-by: kvn, jjg, weijun, alanb, rfield, ksrini
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
/*
48543
7067fe4e054e 8189102: All tools should support -?, -h and --help
goetz
parents: 47216
diff changeset
     2
 * Copyright (c) 2001, 2018, Oracle and/or its affiliates. All rights reserved.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
     7
 * published by the Free Software Foundation.  Oracle designates this
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
 * particular file as subject to the "Classpath" exception as provided
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
     9
 * by Oracle in the LICENSE file that accompanied this code.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
 * This code is distributed in the hope that it will be useful, but WITHOUT
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
 * version 2 for more details (a copy is included in the LICENSE file that
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
 * accompanied this code).
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
 * You should have received a copy of the GNU General Public License version
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
 * 2 along with this work; if not, write to the Free Software Foundation,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    19
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
 *
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
    21
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
    22
 * or visit www.oracle.com if you need additional information or have any
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
    23
 * questions.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
10292
ed7db6a12c2a 7067811: Update demo/sample code to state it should not be used for production
nloodin
parents: 9520
diff changeset
    26
/*
ed7db6a12c2a 7067811: Update demo/sample code to state it should not be used for production
nloodin
parents: 9520
diff changeset
    27
 * This source code is provided to illustrate the usage of a given feature
ed7db6a12c2a 7067811: Update demo/sample code to state it should not be used for production
nloodin
parents: 9520
diff changeset
    28
 * or technique and has been deliberately simplified. Additional steps
ed7db6a12c2a 7067811: Update demo/sample code to state it should not be used for production
nloodin
parents: 9520
diff changeset
    29
 * required for a production-quality application, such as security checks,
ed7db6a12c2a 7067811: Update demo/sample code to state it should not be used for production
nloodin
parents: 9520
diff changeset
    30
 * input validation and proper error handling, might not be present in
ed7db6a12c2a 7067811: Update demo/sample code to state it should not be used for production
nloodin
parents: 9520
diff changeset
    31
 * this sample code.
ed7db6a12c2a 7067811: Update demo/sample code to state it should not be used for production
nloodin
parents: 9520
diff changeset
    32
 */
ed7db6a12c2a 7067811: Update demo/sample code to state it should not be used for production
nloodin
parents: 9520
diff changeset
    33
ed7db6a12c2a 7067811: Update demo/sample code to state it should not be used for production
nloodin
parents: 9520
diff changeset
    34
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    35
package com.sun.tools.example.debug.tty;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    36
90ce3da70b43 Initial load
duke
parents:
diff changeset
    37
/**
90ce3da70b43 Initial load
duke
parents:
diff changeset
    38
 * <p> This class represents the <code>ResourceBundle</code>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    39
 * for the following package(s):
90ce3da70b43 Initial load
duke
parents:
diff changeset
    40
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    41
 * <ol>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    42
 * <li> com.sun.tools.example.debug.tty
90ce3da70b43 Initial load
duke
parents:
diff changeset
    43
 * </ol>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    44
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    45
 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    46
public class TTYResources extends java.util.ListResourceBundle {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    47
90ce3da70b43 Initial load
duke
parents:
diff changeset
    48
90ce3da70b43 Initial load
duke
parents:
diff changeset
    49
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
    50
     * Returns the contents of this <code>ResourceBundle</code>.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    51
     *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    52
     * <p>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    53
     *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    54
     * @return the contents of this <code>ResourceBundle</code>.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    55
     */
9520
99d378796e54 7029383: Refresh of non-client demos
nloodin
parents: 7668
diff changeset
    56
    @Override
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    57
    public Object[][] getContents() {
6196
e11b0538a16c 6959252: convert the anonymous arrays to named arrays in Java List Resource files
yhuang
parents: 5506
diff changeset
    58
        Object[][] temp = new Object[][] {
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    59
        // NOTE: The value strings in this file containing "{0}" are
90ce3da70b43 Initial load
duke
parents:
diff changeset
    60
        //       processed by the java.text.MessageFormat class.  Any
90ce3da70b43 Initial load
duke
parents:
diff changeset
    61
        //       single quotes appearing in these strings need to be
90ce3da70b43 Initial load
duke
parents:
diff changeset
    62
        //       doubled up.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    63
        //
90ce3da70b43 Initial load
duke
parents:
diff changeset
    64
        // LOCALIZE THIS
90ce3da70b43 Initial load
duke
parents:
diff changeset
    65
        {"** classes list **", "** classes list **\n{0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    66
        {"** fields list **", "** fields list **\n{0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    67
        {"** methods list **", "** methods list **\n{0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    68
        {"*** Reading commands from", "*** Reading commands from {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    69
        {"All threads resumed.", "All threads resumed."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    70
        {"All threads suspended.", "All threads suspended."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    71
        {"Argument is not defined for connector:", "Argument {0} is not defined for connector: {1}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    72
        {"Arguments match no method", "Arguments match no method"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    73
        {"Array:", "Array: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    74
        {"Array element is not a method", "Array element is not a method"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    75
        {"Array index must be a integer type", "Array index must be a integer type"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    76
        {"base directory:", "base directory: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    77
        {"Breakpoint hit:", "Breakpoint hit: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    78
        {"breakpoint", "breakpoint {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    79
        {"Breakpoints set:", "Breakpoints set:"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    80
        {"Breakpoints can be located only in classes.", "Breakpoints can be located only in classes.  {0} is an interface or array."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    81
        {"Can only trace", "Can only trace 'methods' or 'method exit' or 'method exits'"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    82
        {"cannot redefine existing connection", "{0} cannot redefine existing connection"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    83
        {"Cannot assign to a method invocation", "Cannot assign to a method invocation"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    84
        {"Cannot specify command line with connector:", "Cannot specify command line with connector: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    85
        {"Cannot specify target vm arguments with connector:", "Cannot specify target VM arguments with connector: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    86
        {"Class containing field must be specified.", "Class containing field must be specified."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    87
        {"Class:", "Class: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    88
        {"Classic VM no longer supported.", "Classic VM no longer supported."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    89
        {"classpath:", "classpath: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    90
        {"colon mark", ":"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    91
        {"colon space", ": "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    92
        {"Command is not supported on the target VM", "Command ''{0}'' is not supported on the target VM"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    93
        {"Command is not supported on a read-only VM connection", "Command ''{0}'' is not supported on a read-only VM connection"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    94
        {"Command not valid until the VM is started with the run command", "Command ''{0}'' is not valid until the VM is started with the ''run'' command"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    95
        {"Condition must be boolean", "Condition must be boolean"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    96
        {"Connector and Transport name", "  Connector: {0}  Transport: {1}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    97
        {"Connector argument nodefault", "    Argument: {0} (no default)"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    98
        {"Connector argument default", "    Argument: {0} Default value: {1}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    99
        {"Connector description", "    description: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   100
        {"Connector required argument nodefault", "    Required Argument: {0} (no default)"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   101
        {"Connector required argument default", "    Required Argument: {0} Default value: {1}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   102
        {"Connectors available", "Available connectors are:"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   103
        {"Constant is not a method", "Constant is not a method"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   104
        {"Could not open:", "Could not open: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   105
        {"Current method is native", "Current method is native"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   106
        {"Current thread died. Execution continuing...", "Current thread {0} died. Execution continuing..."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   107
        {"Current thread isnt suspended.", "Current thread isn't suspended."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   108
        {"Current thread not set.", "Current thread not set."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   109
        {"dbgtrace flag value must be an integer:", "dbgtrace flag value must be an integer: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   110
        {"Deferring.", "Deferring {0}.\nIt will be set after the class is loaded."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   111
        {"End of stack.", "End of stack."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   112
        {"Error popping frame", "Error popping frame - {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   113
        {"Error reading file", "Error reading ''{0}'' - {1}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   114
        {"Error redefining class to file", "Error redefining {0} to {1} - {2}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   115
        {"exceptionSpec all", "all {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   116
        {"exceptionSpec caught", "caught {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   117
        {"exceptionSpec uncaught", "uncaught {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   118
        {"Exception in expression:", "Exception in expression: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   119
        {"Exception occurred caught", "Exception occurred: {0} (to be caught at: {1})"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   120
        {"Exception occurred uncaught", "Exception occurred: {0} (uncaught)"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   121
        {"Exceptions caught:", "Break when these exceptions occur:"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   122
        {"expr is null", "{0} = null"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   123
        {"expr is value", "{0} = {1}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   124
        {"expr is value <collected>", "  {0} = {1} <collected>"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   125
        {"Expression cannot be void", "Expression cannot be void"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   126
        {"Expression must evaluate to an object", "Expression must evaluate to an object"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   127
        {"extends:", "extends: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   128
        {"Failed reading output", "Failed reading output of child java interpreter."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   129
        {"Fatal error", "Fatal error:"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   130
        {"Field access encountered before after", "Field ({0}) is {1}, will be {2}: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   131
        {"Field access encountered", "Field ({0}) access encountered: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   132
        {"Field to unwatch not specified", "Field to unwatch not specified."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   133
        {"Field to watch not specified", "Field to watch not specified."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   134
        {"GC Disabled for", "GC Disabled for {0}:"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   135
        {"GC Enabled for", "GC Enabled for {0}:"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   136
        {"grouping begin character", "{"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   137
        {"grouping end character", "}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   138
        {"Illegal Argument Exception", "Illegal Argument Exception"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   139
        {"Illegal connector argument", "Illegal connector argument: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   140
        {"implementor:", "implementor: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   141
        {"implements:", "implements: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   142
        {"Initializing progname", "Initializing {0} ..."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   143
        {"Input stream closed.", "Input stream closed."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   144
        {"Interface:", "Interface: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   145
        {"Internal debugger error.", "Internal debugger error."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   146
        {"Internal error: null ThreadInfo created", "Internal error: null ThreadInfo created"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   147
        {"Internal error; unable to set", "Internal error; unable to set {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   148
        {"Internal exception during operation:", "Internal exception during operation:\n    {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   149
        {"Internal exception:", "Internal exception:"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   150
        {"Invalid argument type name", "Invalid argument type name"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   151
        {"Invalid assignment syntax", "Invalid assignment syntax"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   152
        {"Invalid command syntax", "Invalid command syntax"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   153
        {"Invalid connect type", "Invalid connect type"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   154
        {"Invalid consecutive invocations", "Invalid consecutive invocations"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   155
        {"Invalid exception object", "Invalid exception object"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   156
        {"Invalid method specification:", "Invalid method specification: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   157
        {"Invalid option on class command", "Invalid option on class command"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   158
        {"invalid option", "invalid option: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   159
        {"Invalid thread status.", "Invalid thread status."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   160
        {"Invalid transport name:", "Invalid transport name: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   161
        {"I/O exception occurred:", "I/O Exception occurred: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   162
        {"is an ambiguous method name in", "\"{0}\" is an ambiguous method name in \"{1}\""},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   163
        {"is an invalid line number for",  "{0,number,integer} is an invalid line number for {1}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   164
        {"is not a valid class name", "\"{0}\" is not a valid class name."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   165
        {"is not a valid field name", "\"{0}\" is not a valid field name."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   166
        {"is not a valid id or class name", "\"{0}\" is not a valid id or class name."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   167
        {"is not a valid line number or method name for", "\"{0}\" is not a valid line number or method name for class \"{1}\""},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   168
        {"is not a valid method name", "\"{0}\" is not a valid method name."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   169
        {"is not a valid thread id", "\"{0}\" is not a valid thread id."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   170
        {"is not a valid threadgroup name", "\"{0}\" is not a valid threadgroup name."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   171
        {"jdb prompt with no current thread", "> "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   172
        {"jdb prompt thread name and current stack frame", "{0}[{1,number,integer}] "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   173
        {"killed", "{0} killed"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   174
        {"killing thread:", "killing thread: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   175
        {"Line number information not available for", "Source line numbers not available for this location."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   176
        {"line number", ":{0,number,integer}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   177
        {"list field typename and name", "{0} {1}\n"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   178
        {"list field typename and name inherited", "{0} {1} (inherited from {2})\n"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   179
        {"list field typename and name hidden", "{0} {1} (hidden)\n"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   180
        {"Listening at address:", "Listening at address: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   181
        {"Local variable information not available.", "Local variable information not available.  Compile with -g to generate variable information"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   182
        {"Local variables:", "Local variables:"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   183
        {"<location unavailable>", "<location unavailable>"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   184
        {"location", "\"thread={0}\", {1}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   185
        {"locationString", "{0}.{1}(), line={2,number,integer} bci={3,number,integer}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   186
        {"Main class and arguments must be specified", "Main class and arguments must be specified"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   187
        {"Method arguments:", "Method arguments:"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   188
        {"Method entered:", "Method entered: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   189
        {"Method exited:",  "Method exited"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   190
        {"Method exitedValue:", "Method exited: return value = {0}, "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   191
        {"Method is overloaded; specify arguments", "Method {0} is overloaded; specify arguments"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   192
        {"minus version", "This is {0} version {1,number,integer}.{2,number,integer} (Java SE version {3})"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   193
        {"Monitor information for thread", "Monitor information for thread {0}:"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   194
        {"Monitor information for expr", "Monitor information for {0} ({1}):"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   195
        {"More than one class named", "More than one class named: ''{0}''"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   196
        {"native method", "native method"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   197
        {"nested:", "nested: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   198
        {"No attach address specified.", "No attach address specified."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   199
        {"No breakpoints set.", "No breakpoints set."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   200
        {"No class named", "No class named ''{0}''"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   201
        {"No class specified.", "No class specified."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   202
        {"No classpath specified.", "No classpath specified."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   203
        {"No code at line", "No code at line {0,number,integer} in {1}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   204
        {"No connect specification.", "No connect specification."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   205
        {"No connector named:", "No connector named: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   206
        {"No current thread", "No current thread"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   207
        {"No default thread specified:", "No default thread specified: use the \"thread\" command first."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   208
        {"No exception object specified.", "No exception object specified."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   209
        {"No exceptions caught.", "No exceptions caught."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   210
        {"No expression specified.", "No expression specified."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   211
        {"No field in", "No field {0} in {1}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   212
        {"No frames on the current call stack", "No frames on the current call stack"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   213
        {"No linenumber information for", "No linenumber information for {0}.  Try compiling with debugging on."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   214
        {"No local variables", "No local variables"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   215
        {"No method in", "No method {0} in {1}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   216
        {"No method specified.", "No method specified."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   217
        {"No monitor numbered:", "No monitor numbered: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   218
        {"No monitors owned", "  No monitors owned"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   219
        {"No object specified.", "No object specified."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   220
        {"No objects specified.", "No objects specified."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   221
        {"No save index specified.", "No save index specified."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   222
        {"No saved values", "No saved values"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   223
        {"No source information available for:", "No source information available for: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   224
        {"No sourcedebugextension specified", "No SourceDebugExtension specified"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   225
        {"No sourcepath specified.", "No sourcepath specified."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   226
        {"No thread specified.", "No thread specified."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   227
        {"No VM connected", "No VM connected"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   228
        {"No waiters", "  No waiters"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   229
        {"not a class", "{0} is not a class"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   230
        {"Not a monitor number:", "Not a monitor number: ''{0}''"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   231
        {"not found (try the full name)", "{0} not found (try the full name)"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   232
        {"Not found:", "Not found: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   233
        {"not found", "{0} not found"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   234
        {"Not owned", "  Not owned"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   235
        {"Not waiting for a monitor", "  Not waiting for a monitor"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   236
        {"Nothing suspended.", "Nothing suspended."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   237
        {"object description and hex id", "({0}){1}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   238
        {"Operation is not supported on the target VM", "Operation is not supported on the target VM"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   239
        {"operation not yet supported", "operation not yet supported"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   240
        {"Owned by:", "  Owned by: {0}, entry count: {1,number,integer}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   241
        {"Owned monitor:", "  Owned monitor: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   242
        {"Parse exception:", "Parse Exception: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   243
        {"printbreakpointcommandusage", "Usage: {0} <class>:<line_number> or\n       {1} <class>.<method_name>[(argument_type,...)]"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   244
        {"Removed:", "Removed: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   245
        {"Requested stack frame is no longer active:", "Requested stack frame is no longer active: {0,number,integer}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   246
        {"run <args> command is valid only with launched VMs", "'run <args>' command is valid only with launched VMs"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   247
        {"run", "run {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   248
        {"saved", "{0} saved"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   249
        {"Set deferred", "Set deferred {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   250
        {"Set", "Set {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   251
        {"Source file not found:", "Source file not found: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   252
        {"source line number and line", "{0,number,integer}    {1}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   253
        {"source line number current line and line", "{0,number,integer} => {1}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   254
        {"sourcedebugextension", "SourceDebugExtension -- {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   255
        {"Specify class and method", "Specify class and method"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   256
        {"Specify classes to redefine", "Specify classes to redefine"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   257
        {"Specify file name for class", "Specify file name for class {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   258
        {"stack frame dump with pc", "  [{0,number,integer}] {1}.{2} ({3}), pc = {4}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   259
        {"stack frame dump", "  [{0,number,integer}] {1}.{2} ({3})"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   260
        {"Step completed:", "Step completed: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   261
        {"Stopping due to deferred breakpoint errors.", "Stopping due to deferred breakpoint errors.\n"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   262
        {"subclass:", "subclass: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   263
        {"subinterface:", "subinterface: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   264
        {"tab", "\t{0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   265
        {"Target VM failed to initialize.", "Target VM failed to initialize."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   266
        {"The application exited", "The application exited"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   267
        {"The application has been disconnected", "The application has been disconnected"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   268
        {"The gc command is no longer necessary.", "The 'gc' command is no longer necessary.\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   269
         "All objects are garbage collected as usual. Use 'enablegc' and 'disablegc'\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   270
         "commands to control garbage collection of individual objects."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   271
        {"The load command is no longer supported.", "The 'load' command is no longer supported."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   272
        {"The memory command is no longer supported.", "The 'memory' command is no longer supported."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   273
        {"The VM does not use paths", "The VM does not use paths"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   274
        {"Thread is not running (no stack).", "Thread is not running (no stack)."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   275
        {"Thread number not specified.", "Thread number not specified."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   276
        {"Thread:", "{0}:"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   277
        {"Thread Group:", "Group {0}:"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   278
        {"Thread description name unknownStatus BP",  "  {0} {1} unknown (at breakpoint)"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   279
        {"Thread description name unknownStatus",     "  {0} {1} unknown"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   280
        {"Thread description name zombieStatus BP",   "  {0} {1} zombie (at breakpoint)"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   281
        {"Thread description name zombieStatus",      "  {0} {1} zombie"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   282
        {"Thread description name runningStatus BP",  "  {0} {1} running (at breakpoint)"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   283
        {"Thread description name runningStatus",     "  {0} {1} running"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   284
        {"Thread description name sleepingStatus BP", "  {0} {1} sleeping (at breakpoint)"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   285
        {"Thread description name sleepingStatus",    "  {0} {1} sleeping"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   286
        {"Thread description name waitingStatus BP",  "  {0} {1} waiting in a monitor (at breakpoint)"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   287
        {"Thread description name waitingStatus",     "  {0} {1} waiting in a monitor"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   288
        {"Thread description name condWaitstatus BP", "  {0} {1} cond. waiting (at breakpoint)"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   289
        {"Thread description name condWaitstatus",    "  {0} {1} cond. waiting"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   290
        {"Thread has been resumed", "Thread has been resumed"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   291
        {"Thread not suspended", "Thread not suspended"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   292
        {"thread group number description name", "{0,number,integer}. {1} {2}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   293
        {"Threadgroup name not specified.", "Threadgroup name not specified."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   294
        {"Threads must be suspended", "Threads must be suspended"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   295
        {"trace method exit in effect for", "trace method exit in effect for {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   296
        {"trace method exits in effect", "trace method exits in effect"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   297
        {"trace methods in effect", "trace methods in effect"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   298
        {"trace go method exit in effect for", "trace go method exit in effect for {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   299
        {"trace go method exits in effect", "trace go method exits in effect"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   300
        {"trace go methods in effect", "trace go methods in effect"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   301
        {"trace not in effect", "trace not in effect"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   302
        {"Unable to attach to target VM.", "Unable to attach to target VM."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   303
        {"Unable to display process output:", "Unable to display process output: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   304
        {"Unable to launch target VM.", "Unable to launch target VM."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   305
        {"Unable to set deferred", "Unable to set deferred {0} : {1}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   306
        {"Unable to set main class and arguments", "Unable to set main class and arguments"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   307
        {"Unable to set", "Unable to set {0} : {1}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   308
        {"Unexpected event type", "Unexpected event type: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   309
        {"unknown", "unknown"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   310
        {"Unmonitoring", "Unmonitoring {0} "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   311
        {"Unrecognized command.  Try help...", "Unrecognized command: ''{0}''.  Try help..."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   312
        {"Usage: catch exception", "Usage: catch [uncaught|caught|all] <class id>|<class pattern>"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   313
        {"Usage: ignore exception", "Usage: ignore [uncaught|caught|all] <class id>|<class pattern>"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   314
        {"Usage: down [n frames]", "Usage: down [n frames]"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   315
        {"Usage: kill <thread id> <throwable>", "Usage: kill <thread id> <throwable>"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   316
        {"Usage: read <command-filename>", "Usage: read <command-filename>"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   317
        {"Usage: unmonitor <monitor#>", "Usage: unmonitor <monitor#>"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   318
        {"Usage: up [n frames]", "Usage: up [n frames]"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   319
        {"Use java minus X to see", "Use 'java -X' to see the available non-standard options"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   320
        {"Use stop at to set a breakpoint at a line number", "Use 'stop at' to set a breakpoint at a line number"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   321
        {"VM already running. use cont to continue after events.", "VM already running. Use 'cont' to continue after events."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   322
        {"VM Started:", "VM Started: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   323
        {"vmstartexception", "VM start exception: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   324
        {"Waiting for monitor:", "   Waiting for monitor: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   325
        {"Waiting thread:", " Waiting thread: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   326
        {"watch accesses of", "watch accesses of {0}.{1}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   327
        {"watch modification of", "watch modification of {0}.{1}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   328
        {"zz help text",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   329
             "** command list **\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   330
             "connectors                -- list available connectors and transports in this VM\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   331
             "\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   332
             "run [class [args]]        -- start execution of application's main class\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   333
             "\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   334
             "threads [threadgroup]     -- list threads\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   335
             "thread <thread id>        -- set default thread\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   336
             "suspend [thread id(s)]    -- suspend threads (default: all)\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   337
             "resume [thread id(s)]     -- resume threads (default: all)\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   338
             "where [<thread id> | all] -- dump a thread's stack\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   339
             "wherei [<thread id> | all]-- dump a thread's stack, with pc info\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   340
             "up [n frames]             -- move up a thread's stack\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   341
             "down [n frames]           -- move down a thread's stack\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   342
             "kill <thread id> <expr>   -- kill a thread with the given exception object\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   343
             "interrupt <thread id>     -- interrupt a thread\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   344
             "\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   345
             "print <expr>              -- print value of expression\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   346
             "dump <expr>               -- print all object information\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   347
             "eval <expr>               -- evaluate expression (same as print)\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   348
             "set <lvalue> = <expr>     -- assign new value to field/variable/array element\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   349
             "locals                    -- print all local variables in current stack frame\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   350
             "\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   351
             "classes                   -- list currently known classes\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   352
             "class <class id>          -- show details of named class\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   353
             "methods <class id>        -- list a class's methods\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   354
             "fields <class id>         -- list a class's fields\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   355
             "\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   356
             "threadgroups              -- list threadgroups\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   357
             "threadgroup <name>        -- set current threadgroup\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   358
             "\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   359
             "stop in <class id>.<method>[(argument_type,...)]\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   360
             "                          -- set a breakpoint in a method\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   361
             "stop at <class id>:<line> -- set a breakpoint at a line\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   362
             "clear <class id>.<method>[(argument_type,...)]\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   363
             "                          -- clear a breakpoint in a method\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   364
             "clear <class id>:<line>   -- clear a breakpoint at a line\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   365
             "clear                     -- list breakpoints\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   366
             "catch [uncaught|caught|all] <class id>|<class pattern>\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   367
             "                          -- break when specified exception occurs\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   368
             "ignore [uncaught|caught|all] <class id>|<class pattern>\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   369
             "                          -- cancel 'catch' for the specified exception\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   370
             "watch [access|all] <class id>.<field name>\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   371
             "                          -- watch access/modifications to a field\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   372
             "unwatch [access|all] <class id>.<field name>\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   373
             "                          -- discontinue watching access/modifications to a field\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   374
             "trace [go] methods [thread]\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   375
             "                          -- trace method entries and exits.\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   376
             "                          -- All threads are suspended unless 'go' is specified\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   377
             "trace [go] method exit | exits [thread]\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   378
             "                          -- trace the current method's exit, or all methods' exits\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   379
             "                          -- All threads are suspended unless 'go' is specified\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   380
             "untrace [methods]         -- stop tracing method entrys and/or exits\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   381
             "step                      -- execute current line\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   382
             "step up                   -- execute until the current method returns to its caller\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   383
             "stepi                     -- execute current instruction\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   384
             "next                      -- step one line (step OVER calls)\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   385
             "cont                      -- continue execution from breakpoint\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   386
             "\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   387
             "list [line number|method] -- print source code\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   388
             "use (or sourcepath) [source file path]\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   389
             "                          -- display or change the source path\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   390
             "exclude [<class pattern>, ... | \"none\"]\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   391
             "                          -- do not report step or method events for specified classes\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   392
             "classpath                 -- print classpath info from target VM\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   393
             "\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   394
             "monitor <command>         -- execute command each time the program stops\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   395
             "monitor                   -- list monitors\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   396
             "unmonitor <monitor#>      -- delete a monitor\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   397
             "read <filename>           -- read and execute a command file\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   398
             "\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   399
             "lock <expr>               -- print lock info for an object\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   400
             "threadlocks [thread id]   -- print lock info for a thread\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   401
             "\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   402
             "pop                       -- pop the stack through and including the current frame\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   403
             "reenter                   -- same as pop, but current frame is reentered\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   404
             "redefine <class id> <class file name>\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   405
             "                          -- redefine the code for a class\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   406
             "\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   407
             "disablegc <expr>          -- prevent garbage collection of an object\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   408
             "enablegc <expr>           -- permit garbage collection of an object\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   409
             "\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   410
             "!!                        -- repeat last command\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   411
             "<n> <command>             -- repeat command n times\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   412
             "# <command>               -- discard (no-op)\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   413
             "help (or ?)               -- list commands\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   414
             "version                   -- print version information\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   415
             "exit (or quit)            -- exit debugger\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   416
             "\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   417
             "<class id>: a full class name with package qualifiers\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   418
             "<class pattern>: a class name with a leading or trailing wildcard ('*')\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   419
             "<thread id>: thread number as reported in the 'threads' command\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   420
             "<expr>: a Java(TM) Programming Language expression.\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   421
             "Most common syntax is supported.\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   422
             "\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   423
             "Startup commands can be placed in either \"jdb.ini\" or \".jdbrc\"\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   424
             "in user.home or user.dir"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   425
        {"zz usage text",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   426
             "Usage: {0} <options> <class> <arguments>\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   427
             "\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   428
             "where options include:\n" +
48543
7067fe4e054e 8189102: All tools should support -?, -h and --help
goetz
parents: 47216
diff changeset
   429
             "    -? -h --help -help print this help message and exit\n" +
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   430
             "    -sourcepath <directories separated by \"{1}\">\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   431
             "                      directories in which to look for source files\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   432
             "    -attach <address>\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   433
             "                      attach to a running VM at the specified address using standard connector\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   434
             "    -listen <address>\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   435
             "                      wait for a running VM to connect at the specified address using standard connector\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   436
             "    -listenany\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   437
             "                      wait for a running VM to connect at any available address using standard connector\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   438
             "    -launch\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   439
             "                      launch VM immediately instead of waiting for ''run'' command\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   440
             "    -listconnectors   list the connectors available in this VM\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   441
             "    -connect <connector-name>:<name1>=<value1>,...\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   442
             "                      connect to target VM using named connector with listed argument values\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   443
             "    -dbgtrace [flags] print info for debugging {0}\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   444
             "    -tclient          run the application in the HotSpot(TM) Client Compiler\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   445
             "    -tserver          run the application in the HotSpot(TM) Server Compiler\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   446
             "\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   447
             "options forwarded to debuggee process:\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   448
             "    -v -verbose[:class|gc|jni]\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   449
             "                      turn on verbose mode\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   450
             "    -D<name>=<value>  set a system property\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   451
             "    -classpath <directories separated by \"{1}\">\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   452
             "                      list directories in which to look for classes\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   453
             "    -X<option>        non-standard target VM option\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   454
             "\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   455
             "<class> is the name of the class to begin debugging\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   456
             "<arguments> are the arguments passed to the main() method of <class>\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   457
             "\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   458
             "For command help type ''help'' at {0} prompt"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   459
        // END OF MATERIAL TO LOCALIZE
90ce3da70b43 Initial load
duke
parents:
diff changeset
   460
        };
6196
e11b0538a16c 6959252: convert the anonymous arrays to named arrays in Java List Resource files
yhuang
parents: 5506
diff changeset
   461
e11b0538a16c 6959252: convert the anonymous arrays to named arrays in Java List Resource files
yhuang
parents: 5506
diff changeset
   462
        return temp;
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   463
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   464
}