Index: src/debug-delay.js |
=================================================================== |
--- src/debug-delay.js (revision 2246) |
+++ src/debug-delay.js (working copy) |
@@ -1194,6 +1194,13 @@ |
throw new Error('Command not specified'); |
} |
+ // TODO(yurys): remove request.arguments.compactFormat check once |
+ // ChromeDevTools are switched to 'inlineRefs' |
+ if (request.arguments && (request.arguments.inlineRefs || |
+ request.arguments.compactFormat)) { |
+ response.setOption('inlineRefs', true); |
+ } |
+ |
if (request.command == 'continue') { |
this.continueRequest_(request, response); |
} else if (request.command == 'break') { |
@@ -1504,9 +1511,6 @@ |
if (from_index < 0 || to_index < 0) { |
return response.failed('Invalid frame number'); |
} |
- if (request.arguments.compactFormat) { |
- response.setOption('compactFormat', true); |
- } |
} |
// Adjust the index. |
@@ -1696,10 +1700,6 @@ |
response.setOption('includeSource', includeSource); |
} |
- if (request.arguments.compactFormat) { |
- response.setOption('compactFormat', true); |
- } |
- |
// Lookup handles. |
var mirrors = {}; |
for (var i = 0; i < handles.length; i++) { |