| Index: src/debug-delay.js
|
| diff --git a/src/debug-delay.js b/src/debug-delay.js
|
| index d9447bd27ea24f079485f40cdaa3d7838c1cf9e3..35f7fcd7e4966818d52ac5839db49845fb33980c 100644
|
| --- a/src/debug-delay.js
|
| +++ b/src/debug-delay.js
|
| @@ -1243,6 +1243,8 @@ DebugCommandProcessor.prototype.processDebugJSONRequest = function(json_request)
|
| this.threadsRequest_(request, response);
|
| } else if (request.command == 'suspend') {
|
| this.suspendRequest_(request, response);
|
| + } else if (request.command == 'version') {
|
| + this.versionRequest_(request, response);
|
| } else {
|
| throw new Error('Unknown command "' + request.command + '" in request');
|
| }
|
| @@ -1911,11 +1913,17 @@ DebugCommandProcessor.prototype.threadsRequest_ = function(request, response) {
|
|
|
|
|
| DebugCommandProcessor.prototype.suspendRequest_ = function(request, response) {
|
| - // TODO(peter.rybin): probably we need some body field here.
|
| response.running = false;
|
| };
|
|
|
|
|
| +DebugCommandProcessor.prototype.versionRequest_ = function(request, response) {
|
| + response.body = {
|
| + V8Version: %GetV8Version()
|
| + }
|
| +};
|
| +
|
| +
|
| // Check whether the previously processed command caused the VM to become
|
| // running.
|
| DebugCommandProcessor.prototype.isRunning = function() {
|
|
|