Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Debug adapter - debugging does not work if a file is already open #6122

Closed
svkr2k opened this issue Sep 6, 2019 · 2 comments
Closed
Labels
bug bugs found in the application debug issues that related to debug functionality help wanted issues meant to be picked up, require help

Comments

@svkr2k
Copy link

svkr2k commented Sep 6, 2019

Description

Debugging does not start and source code line not highlighted if the file is already open in editor.

Reproduction Steps

  1. 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

  2. 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).

  3. Start debugging => During this step, debugging does not work.

  4. 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.

@akosyakov akosyakov added bug bugs found in the application debug issues that related to debug functionality help wanted issues meant to be picked up, require help labels Sep 6, 2019
@tolusha
Copy link
Contributor

tolusha commented Sep 25, 2019

I've checked and unfortunately I can't reproduce the issue.
Once I created a file and added some content I can debug it.

@tsmaeder
Copy link
Contributor

Please reopen with more details if this is still a problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug bugs found in the application debug issues that related to debug functionality help wanted issues meant to be picked up, require help
Projects
None yet
Development

No branches or pull requests

4 participants