-1

It might be easy to just turn them off if it's a regular breakpoint, but sometimes I want to just deactivate the conditional breakpoint for a while, and have the option to turn it back (with the conditional still being written out so I don't have to retype it again). Do any of these IDE's have this capability?

6
  • 1
    please ask your question on a per-IDE basis. you can split this question post into three question posts. Commented Mar 29, 2024 at 19:30
  • @starball Is this the case though since I'm wondering just if any of them have this feature? Should I change it to "is there an IDE which supports ...?" Commented Mar 29, 2024 at 21:09
  • @Prospero You can take a look at my answer, visual studio should have the feature you want. :) Commented Apr 1, 2024 at 3:32
  • @BowmanZhu-MSFT Perfect thanks! Do you happen to know if Spyder and PyCharm have this capability as well? It seems not as I've tried. Commented Apr 1, 2024 at 17:13
  • @Prospero Please check my updated answer, I think it is comprehensive and detailed enough, may it help you? :) Commented Apr 2, 2024 at 3:07

1 Answer 1

1

1, For Visual Studio.

The answer is YES. Visual Studio supports this:

Move the cursor to the breakpoint you set:

enter image description here

You can take a look at the official document of Visual Studio:

Set breakpoints in source code

enter image description here

Breakpoint conditions

2, For PyCharm

The answer is YES. PyCharm support this:

Disable and Enable breakpoints in PyCharm

enter image description here

3, For Spyder

The answer is NO. No such feature.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.