打印
[STM32]

IAR 里的watch\ live watch \quick watch有啥区别?

[复制链接]
8608|0
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
mgf006|  楼主 | 2013-11-6 15:50 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
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.

相关帖子

发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

个人签名:虚拟示波器+信号发生器+逻辑分析仪=EZDSO三合一虚拟仪器。http://www.dzmi.com 国产本土MCU http://www.sinomcu.com

26

主题

417

帖子

3

粉丝