Closed
Description
Describe the bug
Conditional breakpoint only stops the first time.
Adding i%2
to line 8 only stops the first time when i=1, but not after when i=3 or 5.
To Reproduce
Same example as for #120 but with modified shown below.
Expected behavior
Debugger stops at 1, 3 and 5.
Screenshots
Desktop (please complete the following information):
- OS: Windows 10
- Version: 2.0.0 beta 4
- SAMD core 1.8.11
Additional context
- Modified LocalLibrary.cpp
#include "LocalLibrary.h"
// Code
void blinkLED(uint8_t pin, uint8_t times, uint16_t ms, bool level)
{
for (uint8_t i = 0; i < times * 2; i++)
{
digitalWrite(pin, (level ^(i%2)) ? HIGH : LOW);
delay(ms >> 1);
}
}