The KeyInputQueue runs in the system process, and your test app runs
in its own process.  You need to connect two debuggers.  When I debug
this code, I usually use Log.d debugging instead, because while
possible, connecting two debuggers is kind of a pain.

-joe


On Jan 4, 6:46 am, Matan <[email protected]> wrote:
> Hi,
>
> I did the following:
> Modified frameworks/base/services/java/com/android/server/
> KeyInputQueue.java and flashed it to my G1.
> Rebuilt
> Deployed to the G1
> Created a demo test app
> Started debugging the demo app from Eclipse with one breakpoint in a
> central location in KeyInputQueue.java and another in my main activity
> in the demo app.
>
> The debugger stops at the breakpoint located in the activity but
> doesn't stop in KeyInputQueue.java although it's executing this row
> for sure when i touch the touchscreen.
>
> Did I do anything wrong ?
> How can i debug files in the framework like KeyInputQueue.java ? Is it
> possible ?
>
> Thanks a lot,
> Matan
-- 
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

Reply via email to