jdk/src/linux/doc/man/ja/jdb.1
author sundar
Mon, 31 Aug 2015 17:51:02 +0530
changeset 32434 769b3d81ae69
parent 31876 91b22707521a
permissions -rw-r--r--
8134731: Function.prototype.apply interacts incorrectly with arguments Reviewed-by: attila, hannesw
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
     1
'\" t
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
     2
.\" Copyright (c) 1995, 2014, Oracle and/or its affiliates. All rights reserved.
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
     3
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
     4
.\"
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
     5
.\" This code is free software; you can redistribute it and/or modify it
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
     6
.\" under the terms of the GNU General Public License version 2 only, as
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
     7
.\" published by the Free Software Foundation.
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
     8
.\"
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
     9
.\" This code is distributed in the hope that it will be useful, but WITHOUT
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    10
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    11
.\" FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    12
.\" version 2 for more details (a copy is included in the LICENSE file that
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    13
.\" accompanied this code).
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    14
.\"
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    15
.\" You should have received a copy of the GNU General Public License version
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    16
.\" 2 along with this work; if not, write to the Free Software Foundation,
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    17
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    18
.\"
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    19
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    20
.\" or visit www.oracle.com if you need additional information or have any
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    21
.\" questions.
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    22
.\"
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    23
.\" Title: jdb
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    24
.\" Language: Japanese
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    25
.\" Date: 2013年11月21日
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    26
.\" SectDesc: 基本ツール
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    27
.\" Software: JDK 8
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    28
.\" Arch: 汎用
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    29
.\" Part Number: E58103-01
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    30
.\" Doc ID: JSSON
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    31
.\"
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    32
.if n .pl 99999
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    33
.TH "jdb" "1" "2013年11月21日" "JDK 8" "基本ツール"
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    34
.\" -----------------------------------------------------------------
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    35
.\" * Define some portability stuff
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    36
.\" -----------------------------------------------------------------
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    37
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    38
.\" http://bugs.debian.org/507673
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    39
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    40
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    41
.ie \n(.g .ds Aq \(aq
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    42
.el       .ds Aq '
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    43
.\" -----------------------------------------------------------------
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    44
.\" * set default formatting
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    45
.\" -----------------------------------------------------------------
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    46
.\" disable hyphenation
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    47
.nh
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    48
.\" disable justification (adjust text to left margin only)
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    49
.ad l
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    50
.\" -----------------------------------------------------------------
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    51
.\" * MAIN CONTENT STARTS HERE *
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    52
.\" -----------------------------------------------------------------
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    53
.SH "名前"
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    54
jdb \- Javaプラットフォーム・プログラムのbugを検出および修正します。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    55
.SH "概要"
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    56
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    57
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    58
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    59
.\}
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    60
.nf
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    61
\fBjdb\fR [\fIoptions\fR] [\fIclassname\fR] [\fIarguments\fR]
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    62
.fi
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    63
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    64
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    65
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    66
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    67
\fIoptions\fR
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    68
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    69
コマンド行オプション。オプションを参照してください。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    70
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    71
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    72
\fIclass\fRname
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    73
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    74
デバッグするメイン・クラスの名前。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    75
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    76
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    77
\fIarguments\fR
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    78
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    79
classの\fBmain()\fRメソッドに渡す引数。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    80
.RE
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    81
.SH "説明"
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    82
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    83
Javaデバッガ(JDB)は、Javaクラス用の簡単なコマンド行デバッガです。\fBjdb\fRコマンドとそのオプションはJDBを呼び出します。\fBjdb\fRコマンドは、JDBA (Java Platform Debugger Architecture)を視覚的に実行し、ローカルまたはリモートのJava Virtual Machine (JVM)の検査とデバッグを行うことができます。Java Platform Debugger Architecture (JDBA)
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    84
(http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/jpda/index\&.html)を参照してください。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    85
.SS "JDBセッションの開始"
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    86
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    87
JDBセッションを開始するには様々な方法があります。最も頻繁に使用されるのは、デバッグするアプリケーションのメイン・クラスを使用して、JDBから新しいJVMを起動する方法です。コマンド行で、\fBjava\fRコマンドのかわりに\fBjdb\fRコマンドを入力します。たとえば、アプリケーションのメイン・クラスが\fBMyClass\fRの場合は、JDB環境でデバッグするときに次のコマンドを使用します。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    88
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    89
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    90
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    91
.\}
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    92
.nf
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    93
\fBjdb MyClass\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    94
 
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    95
.fi
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    96
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    97
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    98
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    99
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   100
この方法で起動すると、\fBjdb\fRコマンドは、指定されたパラメータを使用して2つ目のJVMを呼び出します。次に、指定されたクラスをロードして、クラスの最初の命令を実行する前にJVMを停止させます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   101
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   102
\fBjdb\fRコマンドのもう1つの使用方法は、すでに実行中のJVMにjdbを接続することです。\fBjdb\fRコマンドが接続するVMを、その実行中に起動するための構文を次に示します。これは、インプロセス・デバッグ用ライブラリをロードし、接続の種類を指定します。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   103
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   104
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   105
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   106
.\}
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   107
.nf
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   108
\fBjava \-agentlib:jdwp=transport=dt_socket,server=y,suspend=n MyClass\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   109
 
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   110
.fi
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   111
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   112
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   113
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   114
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   115
次のコマンドを使用して、\fBjdb\fRコマンドをJVMに接続できます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   116
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   117
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   118
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   119
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   120
.nf
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   121
\fBjdb \-attach 8000\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   122
 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   123
.fi
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   124
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   125
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   126
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   127
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   128
この場合、\fBjdb\fRコマンドは新しいJVMを起動するかわりに既存のJVMに接続されるため、\fBjdb\fRコマンド行に\fBMyClass\fR引数は指定しません。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   129
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   130
デバッガをJVMに接続するには他にも様々な方法があり、すべて\fBjdb\fRコマンドでサポートされています。接続オプションについては、Java Platform Debugger Architectureのドキュメントを参照してください。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   131
.SS "基本jdbコマンド"
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   132
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   133
基本的な\fBjdb\fRコマンドの一覧を示します。JDBがサポートするコマンドはこれ以外にもあり、それらは\fB\-help\fRオプションを使用して表示できます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   134
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   135
helpまたは?
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   136
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   137
\fBhelp\fRまたは\fB?\fRコマンドは、認識されたコマンドのリストに簡潔な説明を付けて表示します。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   138
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   139
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   140
run
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   141
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   142
JDBを起動してブレークポイントを設定したあとに、\fBrun\fRコマンドを使用して、デバッグするアプリケーションの実行を開始できます。\fBrun\fRコマンドは、既存のVMに接続している場合とは異なり、デバッグするアプリケーションが\fBjdb\fRから起動したときにのみ使用できます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   143
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   144
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   145
cont
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   146
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   147
ブレークポイント、例外、またはステップ実行の後で、デバッグするアプリケーションの実行を継続します。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   148
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   149
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   150
print
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   151
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   152
Javaオブジェクトおよびプリミティブ値を表示します。プリミティブ型の変数またはフィールドの場合には、実際の値が出力されます。オブジェクトの場合には、短い説明が出力されます。オブジェクトの詳細を取得する方法を探すには、dumpコマンドを参照してください。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   153
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   154
\fB注意:\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   155
ローカル変数を表示するには、含んでいるクラスが\fBjavac \-g\fRオプションを使用してコンパイルされている必要があります。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   156
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   157
\fBprint\fRコマンドは、次に示すような、メソッド呼出しを使用したものなど、多くの簡単なJava式をサポートします。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   158
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   159
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   160
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   161
.\}
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   162
.nf
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   163
\fBprint MyClass\&.myStaticField\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   164
\fBprint myObj\&.myInstanceField\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   165
\fBprint i + j + k (i, j, k are primities and either fields or local variables)\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   166
\fBprint myObj\&.myMethod() (if myMethod returns a non\-null)\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   167
\fBprint new java\&.lang\&.String("Hello")\&.length()\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   168
 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   169
.fi
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   170
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   171
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   172
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   173
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   174
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   175
dump
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   176
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   177
プリミティブ値の場合、\fBdump\fRコマンドは\fBprint\fRコマンドと同一です。オブジェクトの場合、\fBdump\fRコマンドでは、オブジェクト内に定義されている各フィールドの現在の値が出力されます。staticフィールドとinstanceフィールドが出力されます。\fBdump\fRコマンドでは、\fBprint\fRコマンドと同じ式がサポートされます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   178
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   179
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   180
threads
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   181
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   182
現在実行中のスレッドを一覧表示します。スレッドごとに、名前と現在の状態、および他のコマンドに使用できるインデックスが出力されます。この例では、スレッド・インデックスは4であり、スレッドは\fBjava\&.lang\&.Thread\fRのインスタンスで、スレッドの名前は\fBmain\fRであり、現在実行中です。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   183
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   184
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   185
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   186
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   187
.nf
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   188
\fB4\&. (java\&.lang\&.Thread)0x1 main      running\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   189
 
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   190
.fi
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   191
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   192
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   193
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   194
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   195
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   196
thread
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   197
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   198
現在のスレッドにするスレッドを選択します。多くの\fBjdb\fRコマンドは、現在のスレッドの設定に基づいて実行されます。スレッドは、threadsコマンドで説明したスレッド・インデックスとともに指定します。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   199
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   200
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   201
where
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   202
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   203
引数を指定しないで\fBwhere\fRコマンドを実行すると、現在のスレッドのスタックがダンプされます。\fBwhere\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   204
\fBall\fRコマンドは、現在のスレッド・グループにあるスレッドのスタックをすべてダンプします。\fBwhere\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   205
\fBthreadindex\fRコマンドは、指定されたスレッドのスタックをダンプします。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   206
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   207
現在のスレッドが(ブレークポイントか\fBsuspend\fRコマンドによって)中断している場合は、ローカル変数とフィールドは\fBprint\fRコマンドと\fBdump\fRコマンドで表示できます。\fBup\fRコマンドと\fBdown\fRコマンドで、どのスタック・フレームを現在のスタック・フレームにするかを選ぶことができます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   208
.RE
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   209
.SS "ブレークポイント"
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   210
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   211
ブレークポイントは、行番号またはメソッドの最初の命令でJDBに設定できます。次に例を示します。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   212
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   213
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   214
.ie n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   215
\h'-04'\(bu\h'+03'\c
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   216
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   217
.el \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   218
.sp -1
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   219
.IP \(bu 2.3
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   220
.\}
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   221
コマンド\fBstop at MyClass:22\fRは、\fBMyClass\fRが含まれるソース・ファイルの22行目の最初の命令にブレークポイントを設定します。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   222
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   223
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   224
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   225
.ie n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   226
\h'-04'\(bu\h'+03'\c
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   227
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   228
.el \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   229
.sp -1
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   230
.IP \(bu 2.3
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   231
.\}
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   232
コマンド\fBstop in java\&.lang\&.String\&.length\fRは、メソッド\fBjava\&.lang\&.String\&.length\fRの先頭にブレークポイントを設定します。
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   233
.RE
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   234
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   235
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   236
.ie n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   237
\h'-04'\(bu\h'+03'\c
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   238
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   239
.el \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   240
.sp -1
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   241
.IP \(bu 2.3
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   242
.\}
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   243
コマンド\fBstop in MyClass\&.<clinit>\fRは、\fB<clinit>\fRを使用して、\fBMyClass\fRの静的初期化コードを特定します。
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   244
.RE
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   245
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   246
メソッドがオーバーロードされている場合には、メソッドの引数の型も指定して、ブレークポイントに対して適切なメソッドが選択されるようにする必要があります。たとえば、\fBMyClass\&.myMethod(int,java\&.lang\&.String)\fRまたは\fBMyClass\&.myMethod()\fRと指定します。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   247
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   248
\fBclear\fRコマンドは、\fBclear MyClass:45\fRのような構文を使用してブレークポイントを削除します。\fBclear\fRを使用するか、引数を指定しないで\fBstop\fRコマンドを使用すると、現在設定されているすべてのブレークポイントが表示されます。\fBcont\fRコマンドは実行を継続します。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   249
.SS "ステップ実行"
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   250
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   251
\fBstep\fRコマンドは、現在のスタック・フレームまたは呼び出されたメソッド内で、次の行を実行します。\fBnext\fRコマンドは、現在のスタック・フレームの次の行を実行します。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   252
.SS "例外"
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   253
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   254
スローしているスレッドの呼出しスタック上のどこにも\fBcatch\fR文がない場合に例外が発生すると、JVMは通常、例外トレースを出力して終了します。ただし、JDB環境で実行している場合は、違反のスロー時にJDBに制御が戻ります。次に、\fBjdb\fRコマンドを使用して例外の原因を診断します。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   255
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   256
たとえば、\fBcatch java\&.io\&.FileNotFoundException\fRまたは\fBcatch\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   257
\fBmypackage\&.BigTroubleException\fRのように\fBcatch\fRコマンドを使用すると、デバッグされたアプリケーションは、他の例外がスローされたときに停止します。例外が特定のクラスまたはサブクラスのインスタンスの場合は、アプリケーションは例外がスローされた場所で停止します。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   258
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   259
\fBignore\fRコマンドを使用すると、以前の\fBcatch\fRコマンドの効果が無効になります。\fBignore\fRコマンドでは、デバッグされるJVMは特定の例外を無視せず、デバッガのみを無視します。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   260
.SH "オプション"
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   261
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   262
コマンド行で\fBjava\fRコマンドのかわりに\fBjdb\fRコマンドを使用する場合、\fBjdb\fRコマンドは、\fB\-D\fR、\fB\-classpath\fR、\fB\-X\fRなど、\fBjava\fRコマンドと同じ数のオプションを受け入れます。\fBjdb\fRコマンドは、その他に次のリストにあるオプションを受け入れます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   263
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   264
デバッグを行うJVMにデバッガを接続するための代替機構を提供するために、その他のオプションがサポートされています。これらの接続の代替に関する詳細なドキュメントは、Java Platform Debugger Architecture (JPDA)
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   265
(http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/jpda/index\&.html)を参照してください
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   266
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   267
\-help
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   268
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   269
ヘルプ・メッセージを表示します。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   270
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   271
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   272
\-sourcepath \fIdir1:dir2: \&. \&. \&.\fR
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   273
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   274
指定されたパスを使用して、ソース・ファイルを検索します。このオプションが指定されていない場合は、デフォルト・パスのドット(\&.)が使用されます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   275
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   276
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   277
\-attach \fIaddress\fR
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   278
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   279
デフォルトの接続機構を使用して、実行中のJVMにデバッガを接続します。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   280
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   281
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   282
\-listen \fIaddress\fR
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   283
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   284
実行中のJVMが標準のコネクタを使用して指定されたアドレスに接続するのを待機します。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   285
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   286
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   287
\-launch
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   288
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   289
デバッグするアプリケーションをJDBの起動後ただちに起動します。\fB\-launch\fRオプションにより、\fBrun\fRコマンドが必要なくなります。デバッグするアプリケーションは、起動後、初期アプリケーション・クラスがロードされる直前に停止します。その時点で、必要なブレークポイントを設定し、\fBcont\fRコマンドを使用して実行を継続できます。
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   290
.RE
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   291
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   292
\-listconnectors
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   293
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   294
このJVMで利用できるコネクタを一覧表示します。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   295
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   296
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   297
\-connect connector\-name:\fIname1=value1\fR
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   298
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   299
一覧表示された引数の値と指定のコネクタを使用してターゲットJVMに接続します。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   300
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   301
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   302
\-dbgtrace [\fIflags\fR]
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   303
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   304
\fBjdb\fRコマンドのデバッグの情報を出力します。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   305
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   306
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   307
\-tclient
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   308
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   309
Java HotSpot VMクライアント内でアプリケーションを実行します。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   310
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   311
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   312
\-tserver
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   313
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   314
Java HotSpot VMサーバー内でアプリケーションを実行します。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   315
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   316
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   317
\-J\fIoption\fR
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   318
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   319
JVMに\fBoption\fRを渡します。optionには、Javaアプリケーション起動ツールのリファレンス・ページに記載されているオプションを1つ指定します。たとえば、\fB\-J\-Xms48m\fRと指定すると、スタートアップ・メモリーは48MBに設定されます。java(1)を参照してください。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   320
.RE
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   321
.SH "デバッガ・プロセスに転送されるオプション"
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   322
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   323
\-v \-verbose[:\fIclass\fR|gc|jni]
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   324
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   325
冗長モードにします。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   326
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   327
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   328
\-D\fIname\fR=\fIvalue\fR
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   329
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   330
システム・プロパティを設定します。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   331
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   332
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   333
\-classpath \fIdir\fR
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   334
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   335
クラスを検索するための、コロンで区切って指定されたディレクトリのリスト。
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   336
.RE
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   337
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   338
\-X\fIoption\fR
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   339
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   340
非標準ターゲットJVMオプションです。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   341
.RE
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   342
.SH "関連項目"
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   343
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   344
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   345
.ie n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   346
\h'-04'\(bu\h'+03'\c
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   347
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   348
.el \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   349
.sp -1
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   350
.IP \(bu 2.3
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   351
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   352
javac(1)
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   353
.RE
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   354
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   355
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   356
.ie n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   357
\h'-04'\(bu\h'+03'\c
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   358
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   359
.el \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   360
.sp -1
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   361
.IP \(bu 2.3
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   362
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   363
java(1)
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   364
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   365
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   366
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   367
.ie n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   368
\h'-04'\(bu\h'+03'\c
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   369
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   370
.el \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   371
.sp -1
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   372
.IP \(bu 2.3
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   373
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   374
javah(1)
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   375
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   376
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   377
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   378
.ie n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   379
\h'-04'\(bu\h'+03'\c
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   380
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   381
.el \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   382
.sp -1
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   383
.IP \(bu 2.3
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   384
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   385
javap(1)
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   386
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   387
.br
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   388
'pl 8.5i
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   389
'bp