2016.2 Single-step debugging not moving focus to code window
I just upgraded to 2016.2. My project has two PHPStorm windows open, one with 20+ open editors (call it "Window A") and a second window with a single open editor ("Window B"). I place a breakpoint in Window A, launch debugging and execution stops there. Then I single-step into a function open in Window B. PHPStorm 2016.1 correctly shifted the focus to Window B, where I could continue single-stepping without pause. If I set a breakpoint only in Window B and launched debugging while Window A had the focus, the focus would shift to Window B when the breakpoint there was encountered.
Now, in 2016.2, focus shifting while single-stepping or hitting a breakpoint no longer seems to work. If I manually click on Window B I will see the execution bar and be able to continue single-stepping, but that now requires manual intervention and knowledge of where execution was supposed to stop. I hope this is just a new-version glitch.
Please sign in to leave a comment.
Hello,
Unfortunately I was not able to reproduce this.
Let's say I have two files:
"test1.php":
"test2.php":
File "test1.php" is opened in main PhpStorm window (as Window A), file "test2.php" is opened in a separate editor window (as Window B). Then I place a breakpoint in "test2.php" and debug "test1.php" - it stops in "test2.php" and I can see the lines highlighted and values to evaluate or change.
Is your setup different? Did you check your configuration just to be sure you can debug the same in a single window?