Android Studio Watch表达式持久性 [英] Android Studio Watch Expression persistence

查看:123
本文介绍了Android Studio Watch表达式持久性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Android Studio在每次调试后都会删除所有的表情。
如何强制它保留我的手表并保存在项目中?

Android Studio removes all my watch expressions after each debug. How can I force it to keep my watches and save them in project?

推荐答案

我发现变量已输入当不在调试模式时,由于接口在编译和运行时无法知道这些语句,因此无法找出这些语句。

I have found that variables entered when not in debugging mode are lost since the interface cannot figure out the statements when they are not compiled and running.

希望您与我同样的问题,并开始调试输入您的变量修复它。

Hopefully you have the same problem as me and starting debugging before entering your variables fixes it.

这篇关于Android Studio Watch表达式持久性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆