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

GDB #1016

Merged
merged 1 commit into from
Apr 12, 2016
Merged

GDB #1016

merged 1 commit into from
Apr 12, 2016

Conversation

tolusha
Copy link
Contributor

@tolusha tolusha commented Apr 12, 2016

Debugging CPP applications

+ "&file=" + connectionProperties.get(FILE.toString());
+ "&file=" + connectionProperties.get(BINARY.toString());

if (connectionProperties.containsKey(SOURCES.toString())) {
Copy link
Member

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;
        }

@sleshchenko
Copy link
Member

OK for me

return Collections.singletonList(location.getClassName());
}

String projectPath = appContext.getCurrentProject().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.

you can reuse variable currentProject here

@vparfonov
Copy link
Contributor

ok

GdbInfoProgram gdbInfoProgram = GdbInfoProgram.parse(gdbOutput);
assertEquals(gdbInfoProgram.getStoppedAddress(), "0x7ffff7ddb2d0");
}
}
Copy link
Contributor

Choose a reason for hiding this comment

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

new line

@tolusha tolusha merged commit 66173e0 into master Apr 12, 2016
@tolusha tolusha deleted the CODENVY-257_3 branch April 12, 2016 15:28
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