src/share/classes/com/sun/tools/example/debug/tty/TTYResources_zh_CN.java

Print this page

        

*** 323,333 **** {"Waiting for monitor:", " 正在等待监视器: {0}"}, {"Waiting thread:", " 正在等待线程: {0}"}, {"watch accesses of", "监视{0}.{1}的访问"}, {"watch modification of", "监视{0}.{1}的修改"}, {"zz help text", ! "** 命令列表 **\nconnectors -- 列出此 VM 中可用的连接器和传输\n\nrun [class [args]] -- 开始执行应用程序的主类\n\nthreads [threadgroup] -- 列出线程\nthread <thread id> -- 设置默认线程\nsuspend [thread id(s)] -- 挂起线程 (默认值: all)\nresume [thread id(s)] -- 恢复线程 (默认值: all)\nwhere [<thread id> | all] -- 转储线程的堆栈\nwherei [<thread id> | all]-- 转储线程的堆栈, 以及 pc 信息\nup [n frames] -- 上移线程的堆栈\ndown [n frames] -- 下移线程的堆栈\nkill <thread id> <expr> -- 终止具有给定的异常错误对象的线程\ninterrupt <thread id> -- 中断线程\n\nprint <expr> -- 输出表达式的值\ndump <expr> -- 输出所有对象信息\neval <expr> -- 对表达式求值 (与 print 相同)\nset <lvalue> = <expr> -- 向字段/变量/数组元素分配新值\nlocals -- 输出当前堆栈帧中的所有本地变量\n\nclasses -- 列出当前已知的类\nclass <class id> -- 显示已命名类的详细资料\nmethods <class id> -- 列出类的方法\nfields <class id> -- 列出类的字段\n\nthreadgroups -- 列出线程组\nthreadgroup <name> -- 设置当前线程组\n\nstop in <class id>.<method>[(argument_type,...)]\n -- 在方法中设置断点\nstop at <class id>:<line> -- 在行中设置断点\nclear <class id>.<method>[(argument_type,...)]\n -- 清除方法中的断点\nclear <class id>:<line> -- 清除行中的断点\nclear -- 列出断点\ncatch [uncaught|caught|all] <class id>|<class pattern>\n -- 出现指定的异常错误时中断\nignore [uncaught|caught|all] <class id>|<class pattern>\n -- 对于指定的异常错误, 取消 'catch'\nwatch [access|all] <class id>.<field name>\n -- 监视对字段的访问/修改\nunwatch [access|all] <class id>.<field name>\n -- 停止监视对字段的访问/修改\ntrace [go] methods [thread]\n -- 跟踪方法进入和退出。\n -- 除非指定 'go', 否则挂起所有线程\ntrace [go] method exit | exits [thread]\n -- 跟踪当前方法的退出, 或者所有方法的退出\n -- 除非指定 'go', 否则挂起所有线程\nuntrace [methods] -- 停止跟踪方法进入和/或退出\nstep -- 执行当前行\nstep up -- 一直执行, 直到当前方法返回到其调用方\nstepi -- 执行当前指令\nnext -- 步进一行 (步过调用)\ncont -- 从断点处继续执行\n\nlist [line number|method] -- 输出源代码\nuse (或 sourcepath) [source file path]\n -- 显示或更改源路径\nexclude [<class pattern>, ... | \"none\"]\n -- 对于指定的类, 不报告步骤或方法事件\nclasspath -- 从目标 VM 输出类路径信息\n\nmonitor <command> -- 每次程序停止时执行命令\nmonitor -- 列出监视器\nunmonitor <monitor#> -- 删除监视器\nread <filename> -- 读取并执行命令文件\n\nlock <expr> -- 输出对象的锁信息\nthreadlocks [thread id] -- 输出线程的锁信息\n\npop -- 通过当前帧出栈, 且包含当前帧\nreenter -- 与 pop 相同, 但重新进入当前帧\nredefine <class id> <class file name>\n -- 重新定义类的代码\n\ndisablegc <expr> -- 禁止对象的垃圾收集\nenablegc <expr> -- 允许对象的垃圾收集\n\n!! -- 重复执行最后一个命令\n<n> <command> -- 将命令重复执行 n 次\n# <command> -- 放弃 (无操作)\nhelp (或 ?) -- 列出命令\nversion -- 输出版本信息\nexit (或 quit) -- 退出调试器\n\n<class id>: 带有程序包限定符的完整类名\n<class pattern>: 带有前导或尾随通配符 ('*') 的类名\n<thread id>: 'threads' 命令中报告的线程编号\n<expr>: Java(TM) 编程语言表达式。\n支持大多数常见语法。\n\n可以将启动命令置于 \"jdb.ini\" 或 \".jdbrc\" 中\n位于 user.home 或 user.dir 中"}, {"zz usage text", "用法: {0} <options> <class> <arguments>\n\n其中, 选项包括:\n -help 输出此消息并退出\n -sourcepath <由 \"{1}\" 分隔的目录>\n 要在其中查找源文件的目录\n -attach <address>\n 使用标准连接器附加到指定地址处正在运行的 VM\n -listen <address>\n 等待正在运行的 VM 使用标准连接器在指定地址处连接\n -listenany\n 等待正在运行的 VM 使用标准连接器在任何可用地址处连接\n -launch\n 立即启动 VM 而不是等待 ''run'' 命令\n -listconnectors 列出此 VM 中的可用连接器\n -connect <connector-name>:<name1>=<value1>,...\n 使用所列参数值通过指定的连接器连接到目标 VM\n -dbgtrace [flags] 输出信息供调试{0}\n -tclient 在 HotSpot(TM) 客户机编译器中运行应用程序\n -tserver 在 HotSpot(TM) 服务器编译器中运行应用程序\n\n转发到被调试进程的选项:\n -v -verbose[:class|gc|jni]\n 启用详细模式\n -D<name>=<value> 设置系统属性\n -classpath <由 \"{1}\" 分隔的目录>\n 列出要在其中查找类的目录\n -X<option> 非标准目标 VM 选项\n\n<class> 是要开始调试的类的名称\n<arguments> 是传递到 <class> 的 main() 方法的参数\n\n要获得命令的帮助, 请在{0}提示下键入 ''help''"}, // END OF MATERIAL TO LOCALIZE }; --- 323,333 ---- {"Waiting for monitor:", " 正在等待监视器: {0}"}, {"Waiting thread:", " 正在等待线程: {0}"}, {"watch accesses of", "监视{0}.{1}的访问"}, {"watch modification of", "监视{0}.{1}的修改"}, {"zz help text", ! "** 命令列表 **\nconnectors -- 列出此 VM 中可用的连接器和传输\n\nrun [class [args]] -- 开始执行应用程序的主类\n\nthreads [threadgroup] -- 列出线程\nthread <thread id> -- 设置默认线程\nsuspend [thread id(s)] -- 挂起线程 (默认值: all)\nresume [thread id(s)] -- 恢复线程 (默认值: all)\nwhere [<thread id> | all] -- 转储线程的堆栈\nwherei [<thread id> | all]-- 转储线程的堆栈, 以及 pc 信息\nup [n frames] -- 上移线程的堆栈\ndown [n frames] -- 下移线程的堆栈\nkill <thread id> <expr> -- 终止具有给定的异常错误对象的线程\ninterrupt <thread id> -- 中断线程\n\nprint <expr> -- 输出表达式的值\ndump <expr> -- 输出所有对象信息\neval <expr> -- 对表达式求值 (与 print 相同)\nset <lvalue> = <expr> -- 向字段/变量/数组元素分配新值\nlocals -- 输出当前堆栈帧中的所有本地变量\n\nclasses -- 列出当前已知的类\nclass <class id> -- 显示已命名类的详细资料\nmethods <class id> -- 列出类的方法\nfields <class id> -- 列出类的字段\n\nthreadgroups -- 列出线程组\nthreadgroup <name> -- 设置当前线程组\n\nstop in <class id>.<method>[(argument_type,...)]\n -- 在方法中设置断点\nstop at <class id>:<line> -- 在行中设置断点\nclear <class id>.<method>[(argument_type,...)]\n -- 清除方法中的断点\nclear <class id>:<line> -- 清除行中的断点\nclear -- 列出断点\ncatch [uncaught|caught|all] <class id>|<class pattern>\n -- 出现指定的异常错误时中断\nignore [uncaught|caught|all] <class id>|<class pattern>\n -- 对于指定的异常错误, 取消 'catch'\nwatch [access|all] <class id>.<field name>\n -- 监视对字段的访问/修改\nunwatch [access|all] <class id>.<field name>\n -- 停止监视对字段的访问/修改\ntrace [go] methods [thread]\n -- 跟踪方法进入和退出。\n -- 除非指定 'go', 否则挂起所有线程\ntrace [go] method exit | exits [thread]\n -- 跟踪当前方法的退出, 或者所有方法的退出\n -- 除非指定 'go', 否则挂起所有线程\nuntrace [methods] -- 停止跟踪方法进入和/或退出\nstep -- 执行当前行\nstep up -- 一直执行, 直到当前方法返回到其调用方\nstepi -- 执行当前指令\n下一步 -- 步进一行 (步过调用)\ncont -- 从断点处继续执行\n\nlist [line number|method] -- 输出源代码\nuse (或 sourcepath) [source file path]\n -- 显示或更改源路径\nexclude [<class pattern>, ... | \"none\"]\n -- 对于指定的类, 不报告步骤或方法事件\nclasspath -- 从目标 VM 输出类路径信息\n\nmonitor <command> -- 每次程序停止时执行命令\nmonitor -- 列出监视器\nunmonitor <monitor#> -- 删除监视器\nread <filename> -- 读取并执行命令文件\n\nlock <expr> -- 输出对象的锁信息\nthreadlocks [thread id] -- 输出线程的锁信息\n\npop -- 通过当前帧出栈, 且包含当前帧\nreenter -- 与 pop 相同, 但重新进入当前帧\nredefine <class id> <class file name>\n -- 重新定义类的代码\n\ndisablegc <expr> -- 禁止对象的垃圾收集\nenablegc <expr> -- 允许对象的垃圾收集\n\n!! -- 重复执行最后一个命令\n<n> <command> -- 将命令重复执行 n 次\n# <command> -- 放弃 (无操作)\nhelp (或 ?) -- 列出命令\nversion -- 输出版本信息\nexit (或 quit) -- 退出调试器\n\n<class id>: 带有程序包限定符的完整类名\n<class pattern>: 带有前导或尾随通配符 ('*') 的类名\n<thread id>: 'threads' 命令中报告的线程编号\n<expr>: Java(TM) 编程语言表达式。\n支持大多数常见语法。\n\n可以将启动命令置于 \"jdb.ini\" 或 \".jdbrc\" 中\n位于 user.home 或 user.dir 中"}, {"zz usage text", "用法: {0} <options> <class> <arguments>\n\n其中, 选项包括:\n -help 输出此消息并退出\n -sourcepath <由 \"{1}\" 分隔的目录>\n 要在其中查找源文件的目录\n -attach <address>\n 使用标准连接器附加到指定地址处正在运行的 VM\n -listen <address>\n 等待正在运行的 VM 使用标准连接器在指定地址处连接\n -listenany\n 等待正在运行的 VM 使用标准连接器在任何可用地址处连接\n -launch\n 立即启动 VM 而不是等待 ''run'' 命令\n -listconnectors 列出此 VM 中的可用连接器\n -connect <connector-name>:<name1>=<value1>,...\n 使用所列参数值通过指定的连接器连接到目标 VM\n -dbgtrace [flags] 输出信息供调试{0}\n -tclient 在 HotSpot(TM) 客户机编译器中运行应用程序\n -tserver 在 HotSpot(TM) 服务器编译器中运行应用程序\n\n转发到被调试进程的选项:\n -v -verbose[:class|gc|jni]\n 启用详细模式\n -D<name>=<value> 设置系统属性\n -classpath <由 \"{1}\" 分隔的目录>\n 列出要在其中查找类的目录\n -X<option> 非标准目标 VM 选项\n\n<class> 是要开始调试的类的名称\n<arguments> 是传递到 <class> 的 main() 方法的参数\n\n要获得命令的帮助, 请在{0}提示下键入 ''help''"}, // END OF MATERIAL TO LOCALIZE };