Go to: Synopsis. Return value. Keywords. Flags. MEL examples.
dbtrace [-filter string] [-info] [-keyword string] [-mark] [-off] [-output string] [-timed boolean] [-title string] [-verbose]
dbtrace is NOT undoable, queryable, and NOT editable.
The dbtrace command 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 (keyword KEY)
- Optional filtering criteria (filter FILTER)
- Function (off, output FILE, mark, title TITLE, 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 off
argument).
You can enhance that query with or without a keyword argument to find
out where their output is going (query with the output
argument), out what filters are currently applied (query with the
filter argument), or if their output will be
timestamped (query with the timed argument).
None
In query mode, return type is based on queried flag.
debug, trace, filter
filter, info, keyword, mark, off, output, timed, title, verbose
Flag can appear in Create mode of command
|
Flag can appear in Edit mode of command
|
Flag can appear in Query mode of command
|
Flag can be used more than once in a command.
|
// The default action is to turn the trace object on. This action can be
// changed using one of the -off, -output, -filter, -mark, or -title.
dbtrace -off; // turns all active tracing off
dbtrace -k "key"; // turns on all tracing for keyword "key"
dbtrace -o "FRED"; // sends all active tracing output to the file "FRED"
// Inserts a title line in all active trace destinations having keyword 'key'
dbtrace -k "key" -t "This is a Title";
// Only turn on traces with keyword "key" in Transform nodes
dbtrace -k "key" -f "transform";
// Show where output is going for all levels of trace objects having keyword "fooTrace"
dbtrace -q -k "fooTrace" -o