-
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
GDB #1016
GDB #1016
Conversation
+ "&file=" + connectionProperties.get(FILE.toString()); | ||
+ "&file=" + connectionProperties.get(BINARY.toString()); | ||
|
||
if (connectionProperties.containsKey(SOURCES.toString())) { |
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.
Think about replacing these lines with
String sources = connectionProperties.containsKey(SOURCES.toString());
if (sources != null) {
params += "&sources=" + sources;
}
OK for me |
return Collections.singletonList(location.getClassName()); | ||
} | ||
|
||
String projectPath = appContext.getCurrentProject().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.
you can reuse variable currentProject
here
ok |
GdbInfoProgram gdbInfoProgram = GdbInfoProgram.parse(gdbOutput); | ||
assertEquals(gdbInfoProgram.getStoppedAddress(), "0x7ffff7ddb2d0"); | ||
} | ||
} |
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.
new line
Debugging CPP applications