>Since this variable can be changed in different parts in our app then i cant use Assert :-(
>
>anyway i'll use Insert watch which'll stop execution whenver/wherever the variable changes.
>Thanks
Yes, that is what the Debugger is for.
Note that there are two main limitations:
1) Since some things (like evaluating expression) have to be done after every command, your program execution becomes, perhaps, an order of magnitude slower than when you don't use the debugger.
2) This tool is for the developer. It can't be included in the final executable, for the end-user. It simply won't work.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)