ジャンプ先: 概要. 戻り値. 関連. フラグ. MEL 例.
trace [-where]
string
trace は、取り消し不可能、照会不可能、および 編集不可能 です。
trace コマンドは、文字列引数を標準出力として直接表示します。これは Mel スクリプトのデバッグ機構を提供することを意味します。なし
ロング ネーム(ショート ネーム) | 引数タイプ | プロパティ | ||
---|---|---|---|---|
-where(-w)
|
|
![]() |
||
|
![]() |
![]() |
![]() |
![]() |
// 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");