读书人

CommandAction里面断点执行不了,为什么

发布时间: 2012-01-29 21:39:32 作者: rapoo

CommandAction里面断点执行不了,为什么
在APP()里面断点可以停下来,为什么断在CommandAction()里执行不到呢?如下:

public void commandAction(Command arg0, Displayable arg1) {

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

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


为什么?

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

读书人网 >Eclipse开发

热点推荐