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. About two buffers of Surface.


I add some log in SurfaceFlinger and according to it I think(Thanks
for correct me if something is wrong):
a)Java "SurfaceSession" would create(native side) a
"mSharedHeapAllocator" for each Surface client,
This is done at native Client::Client in the process "system_server"
b)Java "Surface" would access(native side) "mSharedHeapAllocator" to
allocate 2 buffer
for each Normal Surface(not Buffer,Dim or Blur) client.
This is done at native Client::createAllocator in the process
"system_server"'s another threads.

My question is:
1) what is the relationship of these buffers created in b) with the
buffers swapped by EGLDisplaySurface::swapBuffers,
2) what is the relationship of these buffers with "/dev/graphics/fbX"
or "/dev/fbX",



2. Can i block certain users in Android Market

Is there a way too block individual users access to your applications
on android market?
Also is there a way to reply to comments left for your application?

3. init.goldfish.rc question

4. Emulator crashs when accessing sd card settings

5. SlideME: Release of SAM 2.3 and Support For Paid Applications

6. How to increase storage space in the emulator?

7. MediaRecorder - No value other than 0 returned from getMaxAmplitude