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