-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Conversation
e556769
to
cbe80c3
Compare
@@ -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()); |
There was a problem hiding this comment.
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());
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok
There was a problem hiding this comment.
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
.
cbe80c3
to
d2ff50f
Compare
ok |
d2ff50f
to
f19d971
Compare
Build # 1114 - FAILED Please check console output at http://ci.codenvy-dev.com/jenkins/job/che-pullrequests-build/1114/ to view the results. |
ok |
f19d971
to
95dc4a7
Compare
95dc4a7
to
b81457b
Compare
ok |
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>
b81457b
to
2045b9c
Compare
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.