Rutger van Baren
Rutger van Baren

Reputation: 7998

Debugging Android on Netbeans

I've setup Netbeans using nbandroid (http://kenai.com/projects/nbandroid) which has been working just fine for the last few days. I've already made a small app which runs in the emulator and even on my phone.

The thing I can't get to work is the debugger console in netbeans. If I add these lines of code to my app nothing appears in any of the output screens in netbeans.

System.out.println("blaat");
Log.d("info", "blaat")

Even though I'm 100% sure the code should run. Any suggestions on what I might have missed?

Upvotes: 2

Views: 9345

Answers (2)

Rutger van Baren
Rutger van Baren

Reputation: 7998

Ok, just found a better solution in another question: Android Debugging with Logcat and Emulator. Is it possible?

started using ddms, which is exactly what I wanted.

Upvotes: 2

Haphazard
Haphazard

Reputation: 10948

Try opening a new cmd prompt and type "adb logcat".

Upvotes: 3

Related Questions