Wednesday, January 22, 2014
eclipse, how to ease the debugging code?
Dear friends, I am a novice to learn Andrews, there is a problem has been bothering me,
When I finished writing the source code or download the online eclipse how to debug, I see a lot of debugging code when experts are highly competent, but I would not have been debugging, you is how to debug, please specify a novice Ming way, thank you
Reply:
1, with debug
2, see locat log
3, interface issues to see hierarchyviewer
Reply:
With log.a tracking code
Reply:
If you just ask, others have no hair answer.
Because this thing is really a bit "can only be felt, not explained".
Because debugging this thing is the accumulation of experience, as long as you debug your code often, over time, you will naturally be able to achieve "ease" realm.
Reply:
Ease word is good.
Reply:
google / baidu about android eclipse debugging can find a lot
Then is multi-skilled enough to use
Reply:
By debug, or watching logcat
Reply:
1 First, set a breakpoint at the place you need to debug,
2 Right-click the project and then debug as application
3 When the project is running to set your breakpoints will enter debug interface, this time you can start a step by step debugging.
Personally feel that is easy to debug than Log.i.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment