D darabon Active Member Jul 15, 2021 #1 When I iterate array of the map, in debug mode, the map is not initialized while data is available and when I fetch that, that return valid ata Why? I attachment picture when debugging project and watch variable Attachments Capture.JPG 40.4 KB · Views: 154
When I iterate array of the map, in debug mode, the map is not initialized while data is available and when I fetch that, that return valid ata Why? I attachment picture when debugging project and watch variable
Erel B4X founder Staff member Licensed User Longtime User Jul 18, 2021 #2 If it is a resumable sub then it is indeed a bug in the debugger. The workaround for now is to set the object directly: B4X: Dim card As Map = cards.Get(i) Note that this is the preferred way as it saves creating an unused (small) object. Upvote 0
If it is a resumable sub then it is indeed a bug in the debugger. The workaround for now is to set the object directly: B4X: Dim card As Map = cards.Get(i) Note that this is the preferred way as it saves creating an unused (small) object.
D darabon Active Member Jul 18, 2021 #3 Erel said: If it is a resumable sub then it is indeed a bug in the debugger. The workaround for now is to set the object directly: B4X: Dim card As Map = cards.Get(i) Note that this is the preferred way as it saves creating an unused (small) object. Click to expand... No that is Non resumable sub Upvote 0
Erel said: If it is a resumable sub then it is indeed a bug in the debugger. The workaround for now is to set the object directly: B4X: Dim card As Map = cards.Get(i) Note that this is the preferred way as it saves creating an unused (small) object. Click to expand... No that is Non resumable sub
D darabon Active Member Jul 18, 2021 #5 Erel said: I will check it. Click to expand... Thanks Upvote 0