The dbtracecommand is used to manipulate trace objects. The keyword is the only mandatory argument, indicating which trace object is to be altered. Trace Objects to affect (keywordKEY)Optional filtering criteria (filterFILTER)Function (off, outputFILE, mark, titleTITLE, timed: default operation is to enable traces)You can use the query mode to find out which keywords are currently active (query with no arguments) or inactive (query with the offargument). You can enhance that query with or without a keyword argument to find out where their output is going (query with the outputargument), out what filters are currently applied (query with the filterargument), or if their output will be timestamped (query with the timedargument). In query mode, return type is based on queried flag.
Flags:
Long Name / Short Name | Argument Types | Properties | |
---|---|---|---|
filter / f | unicode | ![]() ![]() |
|
Set the filter object for these trace objects (see ‘dgfilter’) Flag can have multiple arguments, passed either as a tuple or a list. |
|||
keyword / k | unicode | ![]() |
|
|
|||
mark / m | bool | ![]() |
|
|
|||
off / boolean | Toggle the traces off. If omitted it will turn them on. | ![]() |
|
output / o | unicode | ![]() ![]() |
|
Destination file of the affected trace objects. Use the special names stdoutand stderrto redirect to your command window. The special name msdevis available on Windows to direct your output to the debug tab in the output window of Visual Studio. |
|||
timed / tm | bool | ![]() ![]() |
|
|
|||
title / t | unicode | ![]() |
|
|
|||
verbose / v | bool | ![]() |
|
|
Derived from mel command maya.cmds.dbtrace