On Dec 19, 4:20 pm, David Karr <[email protected]> wrote: > On Dec 19, 2:29 pm, Kostya Vasilyev <[email protected]> wrote: > > > You could try running "adb logcat" from your computer's command line. That > > would tell you if it's the device or Eclipse that is the problem. If the > > device's logcat works, you will see lots of output, not just your > > application's. All tags should be enabled by default. > > Ok, I can see my application's log output with "adb logcat". I still > don't see anything in the LogCat view in Eclipse. > > > > I've deployed an app to my device that calls "Log.v(String, String)". > > > I'm using the ADT. I have the "LogCat" view showing. > > > > I step over the line of code that calls "Log.v()". Nothing appears in > > > the LogCat view. > > > > I haven't added any filters. I've tried clicking the "V" toggle > > > button in the LogCat view, but that makes no difference. > > > > It appears that I'm supposed to set the log level of the device. There > > > appears to be no way to do that from the ADT. However, looking at the > > > various short articles discussing this, I believe that doing this from > > > the shell is supposed to do it: > > > > ./adb -d shell setprop log.tag.SNAPSHOT VERBOSE > > > > Where my tag is "SNAPSHOT". I ran this, and it returned to the prompt > > > without showing the usage info, so I assume it at least recognized my > > > input. > > > > The line of code that is executed is this: > > > > Log.v("SNAPSHOT", "Checking currentEffect[" + currentEffect + "]"); > > > > This line doesn't show up in the LogCat view. > > > > What am I missing? > >
Oh, and I just noticed I wasn't using the latest version of the SDK or plugin. I just reinstalled everything and now LogCat is working fine. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

