get_trace function

Deprecated, get a trace of a dynamic target's value.