The application has stopped unexpectedly: How to Debug?

后端 未结 5 2376
春和景丽
春和景丽 2020-12-23 17:36

Please note, unlike many other questions having the subject title \"application has stopped unexpectedly\", I am not asking for troubleshooting a particular problem.

5条回答
  •  独厮守ぢ
    2020-12-23 18:19

    I'm an Eclipse/Android beginner as well, but hopefully my simple debugging process can help...

    You set breakpoints in Eclipse by right-clicking next to the line you want to break at and selecting "Toggle Breakpoint". From there you'll want to select "Debug" rather than the standard "Run", which will allow you to step through and so on. Use the filters provided by LogCat (referenced in your tutorial) so you can target the messages you want rather than wading through all the output. That will (hopefully) go a long way in helping you make sense of your errors.

    As for other good tutorials, I was searching around for a few myself, but didn't manage to find any gems yet.

提交回复
热议问题