reading this?
I can't believe this to be an isolated issue. I am sure others have
come to/ or will come to it.
Any pointer to this will be appreciated.
On Jul 22, 3:35 pm, Ahmad <ahmad.mobass...@gmail.com> wrote:
> I am trying to run the sample soft keyboard included in the SDK. I am
> using the debugger, and the literature says that to use a breakpoint
> while debugging aSERVICE, I need to include:
>
> android.os.Debug.waitForDebugger();
>
> So here is the portion of the code I modified:
>
> @Override public void onCreate() {
> /* now let's
> wait until the debugger attaches */
> android.os.Debug.waitForDebugger();
>
> super.onCreate(); //
> breakpoint 1
> mWordSeparators =
> getResources().getString(R.string.word_separators); //
> breakpoint 2
> }
>
> I have put a couple of breakpoints, at the statements indicated by the
> comments.
>
> This is what happens: the debugger first stops at the breakpoint1, for
> a few seconds. But then theservicerestarts. For the life of me I
> can't figure out what makes theserviceto restart.
>
> Any ideas?
>
> Thanks.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
No comments:
Post a Comment