IAR 里的watch\ live watch \quick watch有啥区别?
看了一下使用帮助,觉得理解得不透。可能是英文不行
Quick Watch window
The Quick Watch window is available from the View menu and from the context menu in the editor window.
Use this window to watch the value of a variable or expression and evaluate expressions at a specific point in time.
In contrast to the Watch window, the Quick Watch window gives you precise control over when to evaluate the expression. For single variables this might not be necessary, but for expressions with possible side effects, such as assignments and C-SPY macro functions, it allows you to perform evaluations under controlled conditions.
To evaluate an expression:
1 In the editor window, right-click on the expression you want to examine and choose Quick Watch from the context menu that appears.
2 The expression will automatically appear in the Quick Watch window.
Alternatively:
1 In the Quick Watch window, type the expression you want to examine in the Expressions text box.
2 Click the Recalculate button to calculate the value of the expression.
Watch window
The Watch window is available from the View menu.
Use this window to monitor the values of C-SPY expressions or variables. You can view, add, modify, and remove expressions. Tree structures of arrays, structs, and unions are expandable, which means that you can study each item of these.
Every time execution in C-SPY stops, the values in the Watch window are recalculated. Values that have changed since the last stop are highlighted in red.
Live Watch window
The Live Watch window is available from the View menu.
This window repeatedly samples and displays the value of expressions while your application is executing. Variables in the expressions must be statically located, such as global variables.
This window can only be used for hardware target systems supporting this feature. |