Like the title said, any conditional breakpoints I set in VS code are always tripped, even when the condition is false. I right-clicked in the margin, typed the condition into the little box that shows up, and hit enter. Is the syntax? I tried the following conditions and they were all tripped, even though they're obviously false.
(if False)
And this:
(False)
Using Python, if that makes any difference.
I fall into a pitfall,
foo1 = 1
foo2 = 2
If you want to stop when foo1 == 1, you need to set a breakpoint at line 2. At line 1, the foo1 is not defined yet.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With