Shift-Alt-W - Set a watch tracker point Set a watch track point. ──────────────────────────────────────────────────────────────────────────────
This option allows you to mark a variable as a watch 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 watch track point will allow you to mark the same variable as a watch 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.
You may either position the cursor on the piece of code that you wish to trace and press <Shift><Alt><W>, 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 watch and press <Shift><Alt><W>.
This will add this watch 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 watch track point
where: <var name> is the name of the variable being watched <vwp> 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 watch variable's contents type <contents> is the actual contents of the expression