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

a breakpoint becomes inline after line copying #7114

Closed
tom-shan opened this issue Feb 10, 2020 · 8 comments
Closed

a breakpoint becomes inline after line copying #7114

tom-shan opened this issue Feb 10, 2020 · 8 comments
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

@tom-shan
Copy link
Contributor

Description

inline-breakpoint

Reproduction Steps

OS and Theia version:
OS: centos 7
Theia: d5f3262

Diagnostics:

@akosyakov
Copy link
Member

@tom-shan Do you have active debug session?

@akosyakov akosyakov added bug bugs found in the application debug issues that related to debug functionality labels Feb 10, 2020
@tom-shan
Copy link
Contributor Author

@tom-shan Do you have active debug session?

no active debug session

@justin8502
Copy link
Contributor

Would like to look into this issue, but I'm unsure of which files to look into to get started. I'm thinking that this issue is probably caused by the editor window and the handler for the copy command, any pointers on which files these components would be under?

I also believe this issue might be related to #6910.

@akosyakov
Copy link
Member

@tom-shan
Copy link
Contributor Author

tom-shan commented Feb 24, 2020

Breakpoints are updated here: https://github.com/eclipse-theia/theia/blob/master/packages/debug/src/browser/editor/debug-editor-model.ts#L227

if column number is 1, will it be an inline breakpoint? if the answer is no, maybe we should change the condition to typeof column === 'number' && column > 1

@akosyakov
Copy link
Member

@tom-shan Could you send a PR please? let's try your approach

@akosyakov
Copy link
Member

Maybe #6910 is another issue which will be get fixed by such PR.

@akosyakov akosyakov added the help wanted issues meant to be picked up, require help label Feb 24, 2020
@justin8502
Copy link
Contributor

I was testing the same approach as @tom-shan. Breakpoints are initialized with column undefined but when copied, the column becomes 1. I was going to do more testing and create a PR by the end of today.

JesterOrNot pushed a commit to JesterOrNot/theia that referenced this issue Mar 12, 2020
- Breakpoints on column 1 do not render red indicator

Signed-off-by: Justin Ang <justinang13@gmail.com>
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

3 participants