Don't know which to blame, but I set two breakpoints a few lines apart in Activity_Create and on the Thrive running 3.1, it blows by the first one and stops on the 2nd. On my old Archos 70 running 2.2, it stops at the first breakpoint.
On my Motorola Xoom (which after desperation with Motorola's lack of updates for non-US devices is newly flashed to a US GED image and is now on 3.2 ) I've tried every combination I can think of setting breakpoints and single stepping on various combinations of breakpoints and it all works as expected in Activity_Create.
I hardly ever use the debugger but now I have played a bit more with the it on the Xoom I am seeing an odd thing. If I set a breakpoint in a Spinner Click event it seems to stop but there is no "paused" dialog shown. If I single step through the event it looks OK in the IDE but on the device there is no "paused" dialog. If I do the same on a Button click event then it seems to work as I expect with the "paused" dialog shown.
I hardly ever use the debugger but now I have played a bit more with the it on the Xoom I am seeing an odd thing. If I set a breakpoint in a Spinner Click event it seems to stop but there is no "paused" dialog shown.
I see something similar. I have an Acer tablet A500 running 3.1. When using the debugger and setting a breakpoint in any of the subs, frequently it will look (yellow highlight, arrow) like it stopped at a breakpoint, but the program keeps on running and there is no display of the variables at the bottom of the IDE. The program keeps responding as though there were no breakpoint. No display of "program paused on line…" shown on the Acer.
Other times it will work properly. Usually when I have just launched the IDE.
I cannot remember seeing this problem using the emulator or on my vibrant (2.2).
If I set a breakpoint in a Spinner Click event it seems to stop but there is no "paused" dialog shown. If I single step through the event it looks OK in the IDE but on the device there is no "paused" dialog. If I do the same on a Button click event then it seems to work as I expect with the "paused" dialog shown.
Same thing happens on both of my tablets (Toshiba with 3.1 and Archos with 2.2). Using the code below, I put a break point on the line that starts "i =". When I touch the spinner, the list appears and as soon as I touch an item, it goes to the breakpoint and stops, but no "paused" dialog appears. If I single-step to the end of the Sub (where the list disappears) and then press another view (e.g.: a button), the single-stepping continues in the other view's sub and the paused dialog appears.
B4X:
Sub StyleSpinner_ItemClick (Position As Int, Value As Object)
Dim i As Int
Dim Send As View
Send=Sender
i = Send.Tag - 1
PlayerStyle(i) = Position
End Sub
1.6 compiles my current project properly, but I have not tried it any further. I will try debugging on my Acer, but probably not until later this week. I will let you know if I see the same problems or not.