That's a bug/feature that needs to be posted on the support forum of your 
IDE, not Android Developers :) 

On Monday, November 12, 2012 5:48:55 PM UTC+2, bob wrote:
>
> 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 [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