Android 3.1 or Toshiba Thrive bug

nfordbscndrd

Well-Known Member
Licensed User
Longtime User
Erel -

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.
 

agraham

Expert
Licensed User
Longtime User
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.
 
Upvote 0

agraham

Expert
Licensed User
Longtime User
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.
 
Upvote 0

canalrun

Well-Known Member
Licensed User
Longtime User
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).

I just don't debug on my A500 anymore.

Barry.
 
Upvote 0

nfordbscndrd

Well-Known Member
Licensed User
Longtime User
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
 
Upvote 0

canalrun

Well-Known Member
Licensed User
Longtime User
@CanalRun, are you running the beta version or v1.5?

Hello,
I was running 1.5 when getting this error.

I just installed the 1.6 upgrade, Thanks.

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.

Barry.
 
Upvote 0
Top