ジャンプ先: 概要. 戻り値. 関連項目. フラグ. MEL 例.
trace [-where]
string
trace は 「元に戻す」が不可能、「照会」が不可能、「編集」が不可能 です。
trace コマンドは、文字列引数を標準出力として直接表示します。これは Mel スクリプトのデバッグ機構を提供することを意味します。なし
ロング ネーム(ショート ネーム) | 引数型 | プロパティ | ||
---|---|---|---|---|
-where(-w) |
||||
|
: コマンドの作成モードで使用可能なフラグ | : コマンドの編集モードで使用可能なフラグ |
: コマンドの照会モードで使用可能なフラグ | : 1 つのコマンドで複数回使用可能なフラグ |
// Set up globals for example // global string $myGlobalVar = "glob"; global proc suspiciousProc_1() { print "this proc cannot be trusted\n"; } // Print information as the script runs // trace -where "start of script\n"; suspiciousProc_1; trace -where ("value of $myGlobalVar " + $myGlobalVar + "\n");