Shift-Alt-T - Set a trace track point Set a trace track point. ──────────────────────────────────────────────────────────────────────────────
This option allows you to mark a variable as a trace track point.
How many times have you lost the contents of a variable when it was passed down from one function to another, received as the wrong parameter, passed by reference when it was not supposed to be, passed without a reference when it was supposed to be.
A trace track point will allow you to mark the same variable as a track point within different routines. In this way you can keep a track on the exact contents of a variable within any function, allowing you to watch each instance of a variable within different functions as it is passed down. Each time that one of the track point changes the execution of the program will stop, allowing you to take a look and see which occurrence changed.
You may either position the cursor on the piece of code that you wish to trace and press <Shift><Alt><T>, or you may position the cursor at the start of an expression, and mark the expression using the <Shift><←> or <Shift><→> to highlight the expression that you wish to trace and press <Shift><Alt><T>.
This will add this trace track point to the watch window. If the watch window is not already opened it will be opened when you add a trace point, a break point, a watch point, a trace track point or a watch track point.
The following information will appear in the watch/trace/track window for a trace track point
where: <var name> is the name of the variable being traced <vwp> may contain 'vwp' for a watch point, 'vtp' for a trace point <var type> is local, Public, Static or private <stackitem> is the entry in the stack <type> is the trace variable's contents type <contents> is the actual contents of the expression