I'm trying to debug some ListView related code on a Samsung Captivate (Galaxy S). I set a breakpoint somewhere in my code, and when it stops, I return to the stack a few frames to the ListView source.
Now I can expect that there will be some inconsistency, since my phone probably has a slightly different version of the Android classes than the source code that I use in my IDE. However, I get a mismatch of more than 300 lines. I do not see this discrepancy in the emulator.
Moreover, the stack trace shows the line number of the 3688 list for the performItemClick () method, while the ListView source has only 3644 lines, and this method appears in it on line 3395. I looked at different versions of Android code, and not one of them does not execute the function ItemClick () much closer to line 3688.
The only explanation I can think of is that Samsung has changed the Android code a lot, but I donβt understand why they will make such changes.
Is there any other reason I'm absent? Is there a way to get the debugger to automatically adjust the lines, because currently I just can't go through this code?
source share