本文介绍了在Eclipse中观察非常长的String内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
由于LogCat截断长字符串,因此我使用FileOutputStream来检查非常长的字符串的内容。它的工作原理,但是它强制我adb pull那个文件,这不是很方便,与在LogCat上观看相比。
Eclipse中是否还有其他方法来观看非常长字符串
解决方案
为了记录,发现答案。
Since LogCat truncates long strings, I work around this using FileOutputStream to inspect the contents of very long strings.
It works but it forces me to 'adb pull' that file, which is not very convenient, compare to watching it on LogCat.
Is there any other way in Eclipse to watch very long strings?
解决方案
For the record, the answer was found here.
这篇关于在Eclipse中观察非常长的String内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!