views:

220

answers:

2

I usually run a dual-monitor setup, so I have two Eclipse windows open for the same workspace, displaying different files. When I'm debugging and a breakpoint is hit, Eclipse switches to the "Debug" perspective, but it also shows the file/line where the breakpoint is in both of my windows. This occurs even if the file containing the breakpoint was open in one window but not the other (before the breakpoint was hit).

This is really annoying.

How can I have Eclipse only show the file containing the breakpoint in one window? Ideally, it would choose which window based on where the file is open already. If it's not already open somewhere, I don't really care which window it pops up in.

A: 

Maybe this could help you: Improve multi-monitor support

oropher
How? That's a 3-year-old Google SoC project.
Matt Ball
+1  A: 

You can create another workspace and in that workspace create a new project from the same src code (same files in file system) of the one in your current project in your current workspace. That would let you stop on one breakpoint without the other window stopping their too. Notice that after you make some code modifications in one project you'd have to refresh the other project for those changes to apply in it.

kruvi
That sounds like an awful, hacky fix that's worse than the problem itself.
Matt Ball
too bad for you, good luck fighting with the breakpoints
kruvi