DaOel Member Licensed User Longtime User Aug 6, 2017 #1 I observe weird debugging behaviour when using a sleep function within a sub: As indicated in the attached image the debugger jumps directly from breakpoint 1 to breakpoint 3. Breakpoint 2 is never reached. I also observed this weird behaviour in other functions that contained a sleep function. Whenever I run the sub without a sleep function it runs as it should. Attachments SleepBug.JPG 74.5 KB · Views: 543
I observe weird debugging behaviour when using a sleep function within a sub: As indicated in the attached image the debugger jumps directly from breakpoint 1 to breakpoint 3. Breakpoint 2 is never reached. I also observed this weird behaviour in other functions that contained a sleep function. Whenever I run the sub without a sleep function it runs as it should.
DaOel Member Licensed User Longtime User Aug 6, 2017 #2 I assume it is also related to the 2 consecutive 'if' clauses. If i put a command like x=y inbetween, the breakpoint 2 is reached again. Upvote 0
I assume it is also related to the 2 consecutive 'if' clauses. If i put a command like x=y inbetween, the breakpoint 2 is reached again.