无法在Android Studio中设置断点
2015-10-20 17:06
555 查看
有时候在android studio中设置了断点,但是当链接设备后,看到的却是一个带x的断点,
此时链接上手机,也是没法停在断点的,真是急人啊!!!
根据断点失败的提示:
开始搜索。
StackOverflow上有一篇解释,Cannot set Java breakpoint in Intellij IDEA
If you are using Maven dependencies, go to Maven Projects -> refresh
If that does not work, Try top menu –> Build –> Rebuild Project
If that still doesn’t work, try top menu –> File –> Invalidate Cache/Restart
If that still doesn’t work, then $CATALINA_BASE/bin/catalina.sh stop, then start
2和3两个步骤可以解决问题,其他两个应该Maven和Tomcat的,可以忽略
此时链接上手机,也是没法停在断点的,真是急人啊!!!
根据断点失败的提示:
[code][plain] view plaincopy Warning: No executable code found at line 482 in class com.xx.xx.
开始搜索。
StackOverflow上有一篇解释,Cannot set Java breakpoint in Intellij IDEA
If you are using Maven dependencies, go to Maven Projects -> refresh
If that does not work, Try top menu –> Build –> Rebuild Project
If that still doesn’t work, try top menu –> File –> Invalidate Cache/Restart
If that still doesn’t work, then $CATALINA_BASE/bin/catalina.sh stop, then start
2和3两个步骤可以解决问题,其他两个应该Maven和Tomcat的,可以忽略
相关文章推荐
- android+json+php+mysql实现用户反馈功能
- android SDK更新方法总结
- AndroidStudio打印指定包名logcat
- Android 的数据存储方式有哪些?
- 使用GridView实现仿桌面图标的设计
- android开源项目框架大全:
- android SeekBar双滑块
- Android图像处理
- Android持续集成--JENKINS+GRADLE+JACOCO+SONARQUBE(三)
- android 通知的使用(Notification)
- Android ListView 实现下拉刷新上拉加载
- Android布局组件中实现圆角边框的两种方法
- android Binder的优点
- Jenkins+Gradle+pmd对Android工程源码进行静态代码分析
- Android Xfermode 实战 实现圆形、圆角图片
- [Android自定义控件] Android自定义控件
- android点亮屏幕
- Android lint 删除无用图片文件和配置文件
- android SlidingTabLayout实现ViewPager页卡滑动效果
- Android里 listview 添加 HeaderView