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");