LucaMs Expert Licensed User Longtime User Aug 20, 2020 #1 Pressing F8 when the execution is on line 208 - Log("stop") [breakpoint], line 210 should be the next one and instead...! If this can help... that code is inside another [for next loop], all inside a [Do While rs.NextRow] Last edited: Aug 20, 2020
Pressing F8 when the execution is on line 208 - Log("stop") [breakpoint], line 210 should be the next one and instead...! If this can help... that code is inside another [for next loop], all inside a [Do While rs.NextRow]
Sandman Expert Licensed User Longtime User Aug 20, 2020 #2 Are you at any point in the loop setting ElaborazioneCompletata to False? If not, it will continue to be True for all iterations once it's been set to True.
Are you at any point in the loop setting ElaborazioneCompletata to False? If not, it will continue to be True for all iterations once it's been set to True.
LucaMs Expert Licensed User Longtime User Aug 20, 2020 #3 Sandman said: Are you at any point in the loop setting ElaborazioneCompletata to False? If not, it will continue to be True for all iterations once it's been set to True. Click to expand... It doesn't matter; after the execution of line 208, line 210 should be executed (ElaborazioneCompletata is irrelevant there)
Sandman said: Are you at any point in the loop setting ElaborazioneCompletata to False? If not, it will continue to be True for all iterations once it's been set to True. Click to expand... It doesn't matter; after the execution of line 208, line 210 should be executed (ElaborazioneCompletata is irrelevant there)
Sandman Expert Licensed User Longtime User Aug 20, 2020 #4 In that case I probably didn't understand the problem. Perhaps simplify to a bare bones example?
LucaMs Expert Licensed User Longtime User Aug 20, 2020 #5 Sandman said: In that case I probably didn't understand the problem. Perhaps simplify to a bare bones example? Click to expand... I will try a test project, with a Do While on a ResultSet, since I suspect this could be the problem (I can't think/see nothing else). [BTW, it is an Access DB, used with ucanaccess]
Sandman said: In that case I probably didn't understand the problem. Perhaps simplify to a bare bones example? Click to expand... I will try a test project, with a Do While on a ResultSet, since I suspect this could be the problem (I can't think/see nothing else). [BTW, it is an Access DB, used with ucanaccess]
Erel B4X founder Staff member Licensed User Longtime User Aug 21, 2020 #6 It is a resumable sub right?
LucaMs Expert Licensed User Longtime User Aug 21, 2020 #7 Erel said: It is a resumable sub right? Click to expand... Yes. In the same routine, after that "block", there is another one (For Each) that contains a Sleep.
Erel said: It is a resumable sub right? Click to expand... Yes. In the same routine, after that "block", there is another one (For Each) that contains a Sleep.
LucaMs Expert Licensed User Longtime User Aug 21, 2020 #8 B4X: Copy Sub xxxxx Do While For r For p ' Here the breakpoint, as in my first post. Next Next Loop For Each Sleep Next End Sub
B4X: Copy Sub xxxxx Do While For r For p ' Here the breakpoint, as in my first post. Next Next Loop For Each Sleep Next End Sub
Erel B4X founder Staff member Licensed User Longtime User Aug 23, 2020 #9 This is indeed a bug in the debugger. It will take sometime for this to be fixed.