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

CHE-920: Fix activation breakpoints inside nested java classes #1609

Merged
merged 1 commit into from
Jul 6, 2016

Conversation

AndrienkoAleksandr
Copy link
Contributor

@AndrienkoAleksandr AndrienkoAleksandr commented Jun 29, 2016

Add possibility to find fqn for nested classes inside outer classes with help JDT and use found fqns to activate breakpoints inside nested classes for the java debugger.
@vparfonov @vzhukovskii @sleshchenko @azatsarynnyy @evidolob @tolusha review please.

@codenvy-ci
Copy link

@@ -444,6 +443,7 @@ protected void startDebugger(final DebugSessionDto debugSessionDto) {
LocationDto locationDto = dtoFactory.createDto(LocationDto.class);
locationDto.setLineNumber(b.getLineNumber() + 1);
locationDto.setResourcePath(b.getPath());
locationDto.setResourceProjectPath(b.getFile().getProject().getProjectConfig().getPath());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mb it would be better

dtoFactory.createDto(LocationDto.class);
                 .withLineNumber(b.getLineNumber() + 1);
                 .withResourcePath(b.getPath());
                 .withResourceProjectPath(b.getFile().getProject().getProjectConfig().getPath());

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is b? Rename it at least to breakpoint.

@codenvy-ci
Copy link

@vparfonov
Copy link
Contributor

ok

@codenvy-ci
Copy link

Build # 1114 - FAILED

Please check console output at http://ci.codenvy-dev.com/jenkins/job/che-pullrequests-build/1114/ to view the results.

@vzhukovs
Copy link
Contributor

vzhukovs commented Jul 4, 2016

ok

@codenvy-ci
Copy link

@vparfonov
Copy link
Contributor

ok

@codenvy-ci
Copy link

Build # 1146 - FAILED

Please check console output at http://ci.codenvy-dev.com/jenkins/job/che-pullrequests-build/1146/ to view the results.

Add possibility to find fqn for nested classes inside outer classes with help JDT and use found fqns to activate breakpoints inside nested classes for the java debugger.

Signed-off-by: Aleksandr Andrienko <aandrienko@codenvy.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants