当前位置: 代码迷 >> Eclipse >> CommandAction里面断点执行不了,为什么解决办法
  详细解决方案

CommandAction里面断点执行不了,为什么解决办法

热度:131   发布时间:2016-04-23 14:56:35.0
CommandAction里面断点执行不了,为什么
在APP()里面断点可以停下来,为什么断在CommandAction()里执行不到呢?如下:

public   void   commandAction(Command   arg0,   Displayable   arg1)   {

System.out.println( "fafafa ");
if(arg0==ExitCommand)       //       (1)
{      
                                                  //
                                                  //
                                      }

}
就算我断在(1)处,在按按钮时也停不下,且控制台有输出 "fafafa ",


为什么?

------解决方案--------------------
关注
------解决方案--------------------
你的class文件没有被更新。
另外,你的”if(arg0==ExitCommand) “条件写法不对吧
  相关解决方案