3

Tell HN: It is possible to have "breakpoint groups"

During years of debugging, I keep running into the same thing. I can either disable breakpoints globally, or re-enable them globally. So when I'm debugging something, say an iOS app in XCode, I have to click through a million breakpoints to get to what I want.

Why don't IDEs simply implement "breakpoint sets", whereby I could enable one set or another? Maybe even copy breakpoints between them? It would be a lot better for developers, with seemingly no downside.

Upon some research I found that this is, in fact, possible, and wanted to share with the developer community here.

Seems Visual Studio Code has them: https://devblogs.microsoft.com/visualstudio/streamlining-you...

But not XCode etc.? Upon further research, it seems XCode "almost" has it: https://stackoverflow.com/questions/41193479/xcode-is-it-pos... ... it is actually a feature of LLDB, but the IDE doesn't expose it nicely, so that means you manually have to set them in the debugger console, which is annoying but less so than clicking a million breakpoints: https://volonbolon-blog.tumblr.com/post/126507197542/groupin...