dbx コマンドによるデバッグ

コマンド参照

コマンドの構文は次のとおりです。


collector collector_commands

データの収集を停止するには、次のいずれかのコマンドを使用します。


collector sample mode off
quit

1 つまたは複数のカテゴリの設定を表示するには、次のように入力します。


collector show options

options には、次のいずれかを指定できます。

オプションなし 

すべての設定を表示します。 

profile

プロファイルの設定を表示します。 

sample

標本の設定を表示します。 

store

ストアに関する設定を表示します。 

working_set

ワーキングセットの設定を表示します。 

例 :


collector show

プロファイルオプションを指定するには、次のように入力します。


collector profile options

options には、次のいずれかを指定できます。

mode stack|pc_only|off

プロファイルデータ収集モードを指定します。 

timer milliseconds

パフォーマンスデータの収集を停止します。 

例 :


collector profile mode stack

1 つまたは複数の標本オプションを指定するには、次のように入力します。


collector sample options

options には、次のいずれかを指定できます。

mode continuous|manual|off

データ収集モードを指定します。 

timer milliseconds

データ収集期間を指定します。 

例 :


collector sample timer 20

現在の実験に関する状態を照会するには、次のように入力します。


collector status

格納された実験のディレクトリ名またはファイル名を検索するには、次のように入力します。


collector store options

options には、次のいずれかを指定できます。

directory string

実験が格納されているディレクトリを指定します。 

filename string

実験ファイル名を指定します。 

例 :


collector store directory “.test.z.er”

ワーキングセットオプションを指定するには、次のように入力します。


collector working_set options

options には、次のいずれかを指定できます。

mode on|off

データ収集モードを指定します。 

例 :


collector working_set mode off