Ok. Seems like the editor should not let me place it there though?
On Sunday, November 11, 2012 4:13:01 AM UTC-6, Piren wrote: > > Because you can't... breakpoints need to be placed on code that actually > runs.. either the first line of the function or the call to that function. > > > On Friday, November 9, 2012 12:34:07 AM UTC+2, bob wrote: >> >> >> >> On Thursday, November 8, 2012 4:31:52 PM UTC-6, Sunghun wrote: >>> >>> Did you put your break-point just on the method declaration? >> >> >> Yes, I did. >> >> >>> I hope it is not true. >>> >> >> Why? >> >> >>> >>> On Thursday, November 8, 2012 3:28:04 AM UTC+11, bob wrote: >>>> >>>> Ok, I am having some more issues with breakpoints that the compiler is >>>> ignoring. >>>> >>>> Here is the code in question: >>>> >>>> static Handler handler = new Handler() { >>>> >>>> @Override >>>> public void handleMessage(Message msg) { >>>> Log.d("hmmm","hmmmok"); >>>> } >>>> }; >>>> >>>> What I did was I put a method breakpoint on this line: >>>> >>>> public void handleMessage(Message msg) { >>>> >>>> It did not get triggered when that method was called. >>>> >>>> However, when I put a breakpoint here: >>>> >>>> Log.d("hmmm","hmmmok"); >>>> >>>> It breaks as it should. >>>> >>>> Can someone please help me understand this? >>>> >>>> -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en