History

My first initial commit with all of mine experimental changes.

Dmitry Kabak (userdima committed 13 years ago

Commit d37b88d1 parent 3f5b46618352 files · +2598093 −-8690Browse files

Showing the changes to java/pkg/com/sun/tools/example/debug/tty/TTYResources.java (1 of 18352 files). Show all

Unified · Split

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