Reputation: 121
Rather than disabling breakpoints for all debug configs, it'd be nice to disable breakpoints for one particular running debug config.
For my case, there's common code between a client and server. I'd like to only enable breakpoints for the server, so that I don't have to relaunch the client with debugging disabled.
I'm looking for finer granularity than that in Enable and disable all breakpoints in eclipse
Upvotes: 1
Views: 71
Reputation: 12662
One way to do that would be creating breakpoint working sets and then using 'Group by' to show them by working set. That would allow to easily enable/disable breakpoints.
Multiple selections of existing breakpoints can be moved to a working set with drag and drop (Shift+click, Ctrl+click).
Upvotes: 1
Reputation: 2677
-Dbrk=A
, -Dbrk=B
... into Eclipse run / debug / server configuration."A".equals(System.getProperty("brk"))
, "B".equals(System.getProperty("brk"))
...Upvotes: 1