Curious debugging problem

by MrChaz » Fri, 17 Apr 2009 01:13:09 GMT

Sponsored Links
 I'm getting a force close on a real device but I can't replicate it on
the emulator which means I can't find out why it's crashing.
For some reason the debugger never attaches when I try and debug on
the actual device.
I'm running Vista and SDK 1.1

Any and all help welcome :)

Curious debugging problem

by Al » Fri, 17 Apr 2009 02:41:25 GMT


For debugging on a real device, you have to enable it under Settings-
manifest. E.g.

<application ..... debuggable=true> ..... </application>


Sponsored Links

Curious debugging problem

by Al » Fri, 17 Apr 2009 02:42:31 GMT

 Forgot to mention, you should be able to read logcat messages from the
device. Inside Eclipse and also from terminal/command prompt: adb -d
logcat. It should give you a trace of where the crash happened and


Curious debugging problem

by MrChaz » Fri, 17 Apr 2009 16:00:53 GMT

I didn't hzve the manifest entry.



Other Threads

1. Bad doc links in 1.5_pre documentation?

I've downloaded the new android 1.5 preview sdk and am trying to read
the documentation but the embedded links seem to point only to the 1.1
documentation. E.g. docs/sdk/ has a directory 1.5_r1 with some 1.5
specific information but nothing seems to link into it. All the 1.5
sdk frame links point into 1.1_r1 docs. All the 1.5 reference pages
have "1.1 r1" printed at the bottom of the page. Some of the links
just don't work, e.g. click on main "Dev guide" page and then click on
"Sample Code" and you get a bad link.

I'm amazed blatant errors like this exist but am surprised I can't
find any discussion of this elsewhere or any bug about it on the
android bug pages? Am I missing something obvious?


2. WiFi ad hoc interface


I wonder what the development and release plans are for an interface
that allows you to configure an ad hoc connection. You can already do
this on ADP by changing the wifi configuration and reload using
wlan_loader. However, this is not something a normal user can do.

What are current status of the plans for this?
If I wanted to add this feature to framework myself, what would be the
best release/tag to use? Any pointers to the location of the WiFi UI
interface files would be appreciated.


3. Q. Stack trace gives Hex values not function names when core library crashes

4. MediaPlayer sound problem

5. Capturing exceptions on user's phones?

6. and 莽

7. What's the proper way to share data between lite and pro versions of the same app?