Intellij dart breakpoint in debug opens file second time as not writable

Answered

I develop an App in Flutter/Dart. As IDE I use IntelliJ IDEA 2023.3.2. Since a few days, when ever debug reaches a breakpoint, it opens the file as a new tab. But this is nit writable. Als, the highlighting (partly) and 'Go To Declaration' as well as any editing does not work in the new Window, that makes development very annoying. It only happens in my Dart/Flutter-Projects. I have a Typescript-Project as Server and there I have no problems. Other dart projects have the same issue.

What is going on here, and how do I fix that?

0
1 comment

This is the Flutter plug-in issue, see https://youtrack.jetbrains.com/issue/IDEA-353925/Flutter-debugger-a-read-only-file-copy-is-opened-when-hitting-a-breakpoint-instead-of-a-real-source-file-from-the-project#focus=Comments-27-9836895.0-0 for more details and workarounds.

Updating the IDE and Flutter plug-ins to the latest versions should fix this problem.

0

Please sign in to leave a comment.