FlexBuilder 调试器:“表达式”可以做什么?选项卡有什么用?
正如标题所示,FlexBuilder“表达式”选项卡上有任何文档吗?它可以接受哪些表达式?
据我所知,它可以显示变量的值,但就是这样:比较、函数和方法调用都失败:
替代文本 http://img.skitch.com/20100614-t1gpdbrn1qnwy2eqr3gnw54d1d.png
编辑:这是特定于 FB3 — Flex Builder 的。显然 FB4(Flash Builder)稍微不那么无能。
As the title suggests, is there any documentation on the FlexBuilder "expressions" tab, and what expressions it can accept?
As far as I can tell, it can show the value of variables, but that's it: comparisons, function and method calls all fail:
alt text http://img.skitch.com/20100614-t1gpdbrn1qnwy2eqr3gnw54d1d.png
Edit: this is specific to FB3 — Flex Builder. Apparently FB4 — Flash Builder — is slightly less incompetent.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这取决于您使用的是 FlexBuilder 3 还是 FlashBuilder 4。FB 3 的表达式功能少得可怜。您基本上可以访问变量及其成员属性,句号。并且并不总是所有的成员属性。
FB 4 使您能够评估真实表达式,例如
等。
It depends if you're using FlexBuilder 3 or FlashBuilder 4. FB 3 has pitiful expressions capability. You can basically access variables and their member properties, period. And not always all the member properties.
FB 4 gives you the ability to evaluate real expressions, like
etc.
它显示变量的值以及调试器中当前断点处的表达式结果。
例如:
您可以为 a 创建一个表达式并观察值随时间的变化。
但是,变量必须在上下文中具有值。例如,在指示的位置设置断点并为
b
定义表达式将显示错误。It shows the values of variables, and the results of expressions as at the current breakpoint in the debugger.
eg:
You can create an expression for a and watch the value change over time.
However, the variable must have a value within the context. For example, setting the breakpoint where indicated, and defining an expresssion for
b
would show an error.