Skip to content

Commit 6765bac

Browse files
authored
We should not send error message after termination to vscode because we don't want to show user with such errors. (microsoft#75)
1 parent 646bfc7 commit 6765bac

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • com.microsoft.java.debug.core/src/main/java/com/microsoft/java/debug/core/adapter

com.microsoft.java.debug.core/src/main/java/com/microsoft/java/debug/core/adapter/DebugAdapter.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,7 @@ public Messages.Response dispatchRequest(Messages.Request request) {
6868

6969
try {
7070
if (debugContext.isVmTerminated()) {
71-
AdapterUtils.setErrorResponse(response, ErrorCode.VM_TERMINATED,
72-
String.format("Target VM is already terminated.", request.command));
71+
// the operation is meaningless
7372
return response;
7473
}
7574
List<IDebugRequestHandler> handlers = requestHandlers.get(command);

0 commit comments

Comments
 (0)