Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Debugging Issues (Android Eclipse)

I am having a problem where when I switch to DDMS view and look at the Logcat, everything is yellow. All lines are yellow and Time, PID, Application, and Tag all display question marks for every line. This makes the Logcat useless and makes it incredibly hard to debug. In the past everything has worked fine and I am not sure why this has started happening.

I am using a Verizon Galaxy Nexus with a 4.1 build (could be the problem?).

I am also a beginner (probably excruciatingly obvious).

Thanks for any help.

SOLVED: Apparently I had to update eclipse and the SDK (i feel dumb). Thanks to everyone who spent time tying to help me out.

(It won't let me answer my own question because i am new)

like image 893
user1518835 Avatar asked Jul 11 '12 19:07

user1518835


People also ask

How do I enable debugging in Eclipse?

A Java program can be debugged simply by right clicking on the Java editor class file from Package explorer. Select Debug As → Java Application or use the shortcut Alt + Shift + D, J instead.

How do I run Android in debug mode?

For Android 4.2 and newer, Developer options is hidden by default; use the following steps: On the device, go to Settings > About <device>. Tap the Build number seven times to make Settings > Developer options available. Then enable the USB Debugging option.


1 Answers

Updating your Eclipse and Android SDK will likely solve the problem.

Here's a screenshot, I have lived this too.

screenie

I'm just posting this so you could mark it as an answer for people who may have encountered this situation too.

like image 120
Revolutionair Avatar answered Sep 30 '22 15:09

Revolutionair