Custom Debug adapter - debugging does not work if a file is already open #6122
Labels
bug
bugs found in the application
debug
issues that related to debug functionality
help wanted
issues meant to be picked up, require help
Description
Debugging does not start and source code line not highlighted if the file is already open in editor.
Reproduction Steps
Create custom debug adapter and use it along with theia as described here: https://che.eclipse.org/how-to-add-support-for-a-new-debugger-for-che-theia-f459ea806ff
Add a file and add some content to it. Adding the file opens the file automatically in the editor. (the sample debugger will be able to debug any text file).
Start debugging => During this step, debugging does not work.
Close the file and open it. If debugging is started after close and reopen of a file, it works fine.
But, it should have worked fine during Step File Navigator #3.
The text was updated successfully, but these errors were encountered: