Index: src/debug-debugger.js |
diff --git a/src/debug-debugger.js b/src/debug-debugger.js |
index c632e4771bd325c92a3be897bb88d85f7b4db25d..36b624e5749df3b4f60807529f7f585aca023b72 100644 |
--- a/src/debug-debugger.js |
+++ b/src/debug-debugger.js |
@@ -2311,21 +2311,10 @@ DebugCommandProcessor.prototype.versionRequest_ = function(request, response) { |
DebugCommandProcessor.prototype.profileRequest_ = function(request, response) { |
- if (!request.arguments) { |
- return response.failed('Missing arguments'); |
- } |
- var modules = parseInt(request.arguments.modules); |
- if (isNaN(modules)) { |
- return response.failed('Modules is not an integer'); |
- } |
- var tag = parseInt(request.arguments.tag); |
- if (isNaN(tag)) { |
- tag = 0; |
- } |
if (request.arguments.command == 'resume') { |
- %ProfilerResume(modules, tag); |
+ %ProfilerResume(); |
} else if (request.arguments.command == 'pause') { |
- %ProfilerPause(modules, tag); |
+ %ProfilerPause(); |
} else { |
return response.failed('Unknown command'); |
} |