★ wanayoo — archive 1999 https://github.com/microsoft/java-debug/pull/122Nouvelle recherche | Portail wanayoo
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

Provide launchInTerminal feature to support console input #122

Merged
merged 3 commits into from Nov 29, 2017

Conversation

@testforstephen
Copy link
Contributor

@testforstephen testforstephen commented Nov 29, 2017

Signed-off-by: Jinbo Wang jinbwan@microsoft.com

Signed-off-by: Jinbo Wang <jinbwan@microsoft.com>
} else if (ex != null) {
logger.log(Level.SEVERE, String.format("DebugSession dispatch exception: %s", ex.toString()), ex);
} else {
logger.log(Level.SEVERE, "The request dispatcher should not return null response.");

This comment has been minimized.

@akaroml

akaroml Nov 29, 2017
Member

Please just throw an exception with some message and the exceptionally will catch that.

sendResponse(response);
} else if (ex instanceof DebugException) {
sendResponse(AdapterUtils.setErrorResponse(response,
ErrorCode.parse(((DebugException) ex).getErrorCode()),

This comment has been minimized.

@akaroml

akaroml Nov 29, 2017
Member

Too much indention.

ex.getMessage() != null ? ex.getMessage() : ex.toString()));
} else {
logger.log(Level.SEVERE, "The request dispatcher should not return null response.");
sendResponse(AdapterUtils.setErrorResponse(response,
ErrorCode.UNKNOWN_FAILURE,

This comment has been minimized.

@akaroml

akaroml Nov 29, 2017
Member

Too much indention.

@testforstephen testforstephen merged commit 6aefe96 into master Nov 29, 2017
3 checks passed
3 checks passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details
license/cla All CLA requirements met.
Details
@testforstephen testforstephen deleted the jinbo_launchInTerminal1 branch Nov 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.