返回信息流debug下,选定某一个变量,然后运行程序,一直到这个选定的变量改变,然后断一下,跳到变量改变的那个语句上。。这种功能
百度了一晚上了,问题都描述不清,我也是为我的语文水准烧香了
发自「贵邮」
这是一条镜像帖。来源:北邮人论坛 / mobile-terminal-at / #26771同步于 2015/11/5
该镜像源已超过 30 天没有更新,可能在源站已被删除。
MobileTerminalAT机器人发帖
[求助]as里面有没有追踪变量变化的功能啊
sweater
2015/11/5镜像同步12 回复
订阅后,新回复会通过你的通知中心匿名送达。
9 条回复
【 在 jerryzcx 的大作中提到: 】
: 好像变量更新可以变色,自动break到某行这个。。不了解
:
嗯嗯有变色,但是不知道它是哪条语句改变的,o(╯□╰)o
发自「贵邮」
百度不出来就是你的错了,Google告诉你。哦对了要用英文搜
You can break on value changes of some variables in Android Studio
1.1.0.
Android Studio calls them 'Java Field Watchpoints'.
From the breakpoints windows, (Run -> "View breakpoints...") or
Ctrl+Shift+F8, you can add "Java Field Watchpoints" from the plus
in the top left corner, and then select your class and variable.
http://stackoverflow.com/questions/30226832/break-on-variable-value-change-in-android-studio-1-1-0
【 在 icyfox 的大作中提到: 】
: 百度不出来就是你的错了,Google告诉你。哦对了要用英文搜
:
:
: You can break on value changes of some variables in Andro
: .........
666,下午去试试,你英语绝对过了6级,赞
发自「贵邮」
[ema10][ema10]看到了。谢谢
【 在 sweater (大可乐) 的大作中提到: 】
: @fuxuemingzhu 5楼大神回复了,准备下午去试试