简体   繁体   English

在Eclipse上调试Flash时看不到变量

[英]Cannot see variables while debugging flash on eclipse

I keep having the issue when I try to debug a Flex/AS3 application on Eclipse IDE, as long as I hover over any variable the pop up window shows an error: 当我尝试在Eclipse IDE上调试Flex / AS3应用程序时,只要将鼠标悬停在任何变量上,弹出窗口都会显示错误,我仍然遇到问题:

An internal error occurred during: "Evaluating Flex expression...". 在以下期间发生内部错误:“正在评估Flex表达式...”。 java.lang.NullPointerException

More details for the error, took me a while to find out in the eclipse log: 有关该错误的更多详细信息,我花了一段时间才在Eclipse日志中找到:

!ENTRY org.eclipse.core.jobs 4 2 2017-10-19 10:48:03.565
!MESSAGE An internal error occurred during: "Evaluating Flex expression...".
!STACK 0
java.lang.NullPointerException
at flash.tools.debugger.concrete.PlayerSession.pullUpActivationObjectVariables(PlayerSession.java:1007)
at flash.tools.debugger.concrete.PlayerSession.requestFrame(PlayerSession.java:984)
at flash.tools.debugger.concrete.DStackContext.populate(DStackContext.java:156)
at flash.tools.debugger.concrete.DStackContext.getThis(DStackContext.java:92)
at com.adobe.flexbuilder.debug.djapi.wrappers.ThreadSafeFrame.getThis(ThreadSafeFrame.java:121)
at com.adobe.flexbuilder.debug.model.FlexStackFrame.initVariables(FlexStackFrame.java:283)
at com.adobe.flexbuilder.debug.model.FlexStackFrame.getVariables(FlexStackFrame.java:410)
at com.adobe.flexbuilder.debug.expression.FlexStackContext.lookup(FlexStackContext.java:52)
at flash.tools.debugger.expression.VariableExp.evaluate(VariableExp.java:28)
at com.adobe.flexbuilder.debug.djapi.wrappers.ThreadSafeValueExp.evaluate(ThreadSafeValueExp.java:54)
at com.adobe.flexbuilder.debug.expression.FlexExpression.evaluate(FlexExpression.java:120)
at com.adobe.flexbuilder.debug.expression.FlexWatchExpressionDelegate$EvaluationJob.run(FlexWatchExpressionDelegate.java:103)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

The variable tab and expressions tab on eclipse both are empty: screen shot here eclipse上的变量选项卡和表达式选项卡都为空: 此处的屏幕截图

My environment: 我的环境:

  • Eclipse 3.3.2 Eclipse 3.3.2
  • Flash debugger 27.0.0.170 (debug version) Flash调试器27.0.0.170(调试版本)
  • Firefox 56.0.1 64-bit Firefox 56.0.1 64位
  • Flex builder 3 Flex Builder 3

I have tried : reinstalling the flash debugger, and even rebuilt the Workspace for my Eclipse, no luck. 我已经尝试过 :重新安装Flash调试器,甚至为我的Eclipse重建了Workspace,但是没有运气。 Some ideas to fix this will be really appreciated. 一些解决此问题的想法将不胜感激。

Revert my browser and flash to the older version finally fixed the problem. 恢复我的浏览器并刷新到旧版本,终于解决了该问题。 Thanks all. 谢谢大家

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM