A wrong source file is always opened in my UDE workspace.
Perhaps there is a wrong source alias. To solve that issue, open menu Config - Debug Server Configuration, Go to View Server-Program and click Aliases. Remove all entries and Close/Reopen Workspace.