Change value of string array at debug eclipse--转
Question: I have an application,but to test something,I need to change value of a? But when I do it using?change value?in?variables?tab,everytime it gives error. I have tried using :
etc. But had no luck. Can anybody plese tell how to do this? Answer: See,you can't actually add(change) value in array while debugging. But there is a work around,you need to assign new string array to this reference like,
But this will remove old entries,so if you want to only add new values best way is to,copy old values from the?variables?tab.
原文地址:http://stackoverflow.com/questions/23270464/change-value-of-string-array-at-debug-eclipse (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |