You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Start a debug session in a Flutter Desktop project
Hit a breakpoint
Expected result:
The IDE remains focused.
Actual result:
The IDE window flashes black and macOS switches focus to Finder, requiring a manual click to return. The same behavior occurs on every subsequent step (Step Over, Step Into, etc.).
The Debug tool window still opens on breakpoint hit, but the IDE does not attempt to steal OS-level focus, avoiding the macOS Space switch.
Alternatively, avoid using native macOS full-screen mode.
Attempted Fixes/Workarounds (Unsuccessful)
Repair IDE, Invalidate Caches, etc.
Restart IDE
Restart machine
Uncheck "Focus application on breakpoint" & "Show debug window on breakpoint" under Settings | Build, Execution, Deployment | Debugger
Successful Workarounds
Don't use native full-screen when using breakpoints
Additional information
Reproduces when debugging a Flutter/Dart project
Does NOT reproduce when the IDE is not in full-screen mode
Note about the video: I know it shows an exception being thrown, but it's the same thing as a breakpoint being hit and suspending the program. I reported this problem to IntelliJ's team, and they pointed out it's a Flutter/IntelliJ issue here
Environment
Steps to reproduce
Expected result:
The IDE remains focused.
Actual result:
The IDE window flashes black and macOS switches focus to Finder, requiring a manual click to return. The same behavior occurs on every subsequent step (Step Over, Step Into, etc.).
The Debug tool window still opens on breakpoint hit, but the IDE does not attempt to steal OS-level focus, avoiding the macOS Space switch.
Alternatively, avoid using native macOS full-screen mode.
Attempted Fixes/Workarounds (Unsuccessful)
Successful Workarounds
Additional information
Note about the video: I know it shows an exception being thrown, but it's the same thing as a breakpoint being hit and suspending the program. I reported this problem to IntelliJ's team, and they pointed out it's a Flutter/IntelliJ issue here
Screen.Recording.2026-04-14.at.11.44.41.AM.mov