Showing Backtrace Information: dheap -backtrace:
The backtrace associated with a memory allocation can contain many stack frames that are part of the heap library, MemoryScape’s library, and other related functions and libraries. You are not usually interested in this information, since these stack frames aren’t part of your program. Using the -backtrace option lets you manage this information, as follows:
*dheap -backtrace -set_trim value
Removes—that is, trims—this number of stack frames from the top of the backtrace. This lets you hide the stack frames that you’re not interested in as they come from libraries.
*dheap -backtrace -set_depth value
Limits the number of stack frames to the value that you type as an argument. The depth value starts after the trim value. That is, the number of excluded frames does not include the frames that were trimmed.