(我是android的新手,所以不要跟我一起开玩笑)
我使用的是Android Developer Tools Build:v21.0.0-531062。当我调试我的代码模拟器正常启动,但例如当我点击一些botton得到一个错误(Suspended(异常RuntimeException))。我知道我有一些错误,但在哪里,哪一行。我没有从调试器获得此类信息。哪里可以找到我的错误。我的代码很小时我可以这样做,当代码太大时我怎么能这样做?
我的调试错误:
Thread [<1> main] (Suspended (exception RuntimeException))
ActivityThread.performLaunchActivity(ActivityThread$ActivityClientRecord, Intent) line: 1569
ActivityThread.handleLaunchActivity(ActivityThread$ActivityClientRecord, Intent) line: 1663
ActivityThread.access$1500(ActivityThread, ActivityThread$ActivityClientRecord, Intent) line: 117
ActivityThread$H.handleMessage(Message) line: 931
ActivityThread$H(Handler).dispatchMessage(Message) line: 99
Looper.loop() line: 123
ActivityThread.main(String[]) line: 3683
Method.invokeNative(Object, Object[], Class, Class[], Class, int, boolean) line: not available [native method]
Method.invoke(Object, Object...) line: 507
ZygoteInit$MethodAndArgsCaller.run() line: 839
ZygoteInit.main(String[]) line: 597
NativeStart.main(String[]) line: not available [native method]