Flex Builder 调试器不显示局部变量

发布于 2024-08-20 18:46:25 字数 152 浏览 1 评论 0原文

我几乎每天都使用 Flex Builder 3 调试器,但“Flex 调试”视图中的“变量”选项卡不显示局部变量,只显示“this”,这让我感到非常痛苦。

另外,我无法为局部变量添加监视表达式。

我在这里忘记了什么,还是调试器非常有限?

谢谢

I am using the Flex Builder 3 debugger almost every day and it's starting to be a real pain that the 'Variables' tab in the 'Flex Debugging' view doesn't show local variables, only 'this' is displayed.

Also I can not add Watch Expressions for local variables.

Am I forgetting something here or is the debugger just very limited?

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

桃气十足 2024-08-27 18:46:25

我有与座右铭描述的同样的问题。调试时不显示局部变量,“悬停”方法也不起作用。您始终可以使用 trace() 或 Loging API。
昨天我遇到了这个问题,我唯一注意到的是,由于 OutOfMemoryError ,项目停止使用 ant 脚本进行编译(我通常使用 FB 构建项目,但有时 FlexBuilder 不会显示错误/警告,而通过 ant 脚本编译是我知道找到它们的唯一方法)。

I have the same problem that motto described. Local variables are not displayed when debugging, "hover" method doesn't work either. You can always use trace() or Loging API.
The problem occurred to me yesterday and the only thing I noticed is that the project stopped to compile using ant script due to OutOfMemoryError (I usually build project using FB, but sometimes FlexBuilder doesn't show errors/warnings and compiling via ant script is the only way I know to find them).

姐不稀罕 2024-08-27 18:46:25

要查看 Flex Builder 是否正确跟踪局部变量,请在函数中的某个位置设置断点。一旦到达该断点,您还可以“悬停”在源代码中的变量上,工具提示应显示该变量的当前值。

To see if Flex Builder is even tracking your local variables properly, set a breakpoint somewhere in a function. Once you hit that breakpoint, you can also "hover" over a variable in your source code, and a tooltip should show the current value of that variable.

掌心的温暖 2024-08-27 18:46:25

有时,如果当前函数位于较大文件的更下方,FB 会出现问题。将函数代码向上移动可以解决问题(但会为随后进一步执行的另一个函数暴露相同的问题)。 FB 似乎只能收集当前打开文件的一定量的元数据。

Sometimes, FB has problems if the current function is further down in a larger file. Moving the function code up solves the problem (but exposes the same for another funciton further doen then). It seems that FB can only gather a certain amount of metadata for the currently open file.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文