[关闭]
@natsumi 2016-07-06T07:31:31.000000Z 字数 496 阅读 1786

【转】无法在Android Studio中设置断点

Android_Studio Android


原文:http://blog.csdn.net/lihenair/article/details/48975269

错误提示:
No executable code found at line 482 in class com.xx.xx.

StackOverflow上有一篇解释,Cannot set Java breakpoint in Intellij IDEA

  1. If you are using Maven dependencies, go to Maven Projects -> refresh
  2. If that does not work, Try top menu --> Build --> Rebuild Project
  3. If that still doesn't work, try top menu --> File --> Invalidate Cache/Restart
  4. If that still doesn't work, then $CATALINA_BASE/bin/catalina.sh stop, then start

2和3两个步骤可以解决问题,其他两个应该Maven和Tomcat的,可以忽略

添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注