I am fairly new to android, java and eclipse here. When my code run into some exception, the program crashes and I got a big chunk of error information in the logcat.
The logcat shows really too much information. I have to scroll all the way to the top to see where exactly the exception was original caused. That gives me a headache every time. Is there any option I can set to reduce the amount of useless information in the logcat? And, there is one more annoying thing. When the program first stopped running, I don't see anything in the log cat. I have to click the "Resume" button twice in order to see the large chunk of information in log cat.
The second problem is that when the program breaks, the stack trace I got doesn't contain the original point where the exception was thrown. It looks the exception was thrown and caught by the outer level code in android system. That stack trace is completely useless and I can't use it to inspect the local variables within the function causing the original exception.
I read some posts regarding setting breakpoints in specific exceptions. That works if I know what is the original type of exception. But the truth is, after the original exception was caught by the outer level system code, all I can see in the debugger is a "runtimeException".
Thanks for any tips to help the debugging in eclipse more efficient.