Debug Question

by nhboy » Tue, 04 Nov 2008 23:32:09 GMT

Sponsored Links
 Hello everyone. I have what seems to be a simple question but I can't
seem to find any helpful discussions on it. Using Eclipse is there a
way to set a break point in the lower level libraries like skia, sgl
and freetype?
If so can you point me in the right direction?

If not can I insert printfs in the source code for these libraries and
somehow see the output in some shell? I guess in general how does one
debug these lower level libs?



Debug Question

by Ian luo » Mon, 10 Nov 2008 16:33:29 GMT

 Hi nhboy:

This exercise may give you some information maybe help you 


From: "nhboy" <[EMAIL PROTECTED]>
Sent: Wednesday, November 05, 2008 4:46 AM
To: "Android Beginners" <>
Subject: [android-beginners] Debug Question


Sponsored Links

Debug question

by mh » Sun, 01 Nov 2009 08:11:00 GMT

 After much screwing around with configuration settings I finally got
Eclipse to recognize and attach to a tethered MyTouch for debugging.

The problem now is that before running the debugger I have to manually
push the build to the device in order for the debugger to launch it.
If I do not first manually install the file on the device it does not
get uploaded and I see the following errors in the android console

[2009-10-31 16:54:05 - MyApp]Starting activity on
[2009-10-31 16:54:06 - MyApp]New package not yet registered with the
system. Waiting 3 seconds before next attempt.
[2009-10-31 16:54:09 - MyApp]Starting activity on
[2009-10-31 16:54:11 - MyApp]New package not yet registered with the
system. Waiting 3 seconds before next attempt.
[2009-10-31 16:54:14 - MyApp]Starting activity on
[2009-10-31 16:54:15 - MyApp]ActivityManager: Starting: Intent
[2009-10-31 16:54:15 - MyApp]ActivityManager: Error type 3
[2009-10-31 16:54:15 - MyApp]ActivityManager: Error: Activity class
{} does not exist.

If the file exists then the debugger attaches and breakpoints work but
the old image is the one that is always connected to as automatic
uploads still do not happen upon rebuild/redeploy.

I have tried turning USB storage on and off but that does not work

Am I missing an address setting or checkbox somewhere?


Debug question

by mh » Sun, 01 Nov 2009 08:20:00 GMT

 One additional data point.  The line:

[2009-10-31 17:13:10 - MyApp]Application already deployed. No need to

appears at the beginning of a launch.  The application is *not* seen
under Manage Applications on the device nor does it appear anywhere as
a background [hidden] task.


Debug question

by Roland » Sun, 01 Nov 2009 11:33:48 GMT

 When I experienced this problem, the solution for me to was to do a
project clean and rebuild the entire project.  Then the app would load
properly from the Eclipse debug launch.



Other Threads

1. TextView autoLink problem


I have a problem on the autoLink property on TextView.
I created a ListView (X) and implemented an list adapter (Y) to render
my custom layout like this:

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="
    <ImageView android:id="@+id/avatar"
        android:layout_height="wrap_content" />
    <TextView android:id="@+id/msg"

However, if the TextView's autoLink property is set, the items in X
will not trigger the onItemClick (nore onItemLongClick) event. I found
a thread that discussed this problem:

2. Licensing for Android Google Apps (GMail, GMaps, etc)?

You need to be talking to Google, but not sure if Google has the time to

Until we get open source alternatives for the closed G binaries, all we can
do right now with the available android source is learn to live without the
G Apps.

take care,
Muthu Ramadoss. +91-9840348914 - Android Consulting.

On Wed, Feb 25, 2009 at 9:09 PM, Bryne McCullough <


3. Is there any interface for setting Z order of View

4. How to handle incoming voice call.

5. Please Read! Advice needed!

6. One Channel Among Many (Was: Dev Phone and RC33 update)

7. Conversion of zImage to HEX format?