@@ -1887,7 +1887,7 @@ DebugCommandProcessor.prototype.resolveFrameFromScopeDescription_ =
1887
1887
// Get the frame for which the scope or scopes are requested.
1888
1888
// With no frameNumber argument use the currently selected frame.
1889
1889
if ( scope_description && ! IS_UNDEFINED ( scope_description . frameNumber ) ) {
1890
- frame_index = scope_description . frameNumber ;
1890
+ var frame_index = scope_description . frameNumber ;
1891
1891
if ( frame_index < 0 || this . exec_state_ . frameCount ( ) <= frame_index ) {
1892
1892
throw new Error ( 'Invalid frame number' ) ;
1893
1893
}
@@ -1972,7 +1972,7 @@ DebugCommandProcessor.resolveValue_ = function(value_description) {
1972
1972
var value_mirror = LookupMirror ( value_description . handle ) ;
1973
1973
if ( ! value_mirror ) {
1974
1974
throw new Error ( "Failed to resolve value by handle, ' #" +
1975
- mapping . handle + "# not found" ) ;
1975
+ value_description . handle + "# not found" ) ;
1976
1976
}
1977
1977
return value_mirror . value ( ) ;
1978
1978
} else if ( "stringDescription" in value_description ) {
@@ -2127,7 +2127,7 @@ DebugCommandProcessor.prototype.lookupRequest_ = function(request, response) {
2127
2127
2128
2128
// Set 'includeSource' option for script lookup.
2129
2129
if ( ! IS_UNDEFINED ( request . arguments . includeSource ) ) {
2130
- includeSource = % ToBoolean ( request . arguments . includeSource ) ;
2130
+ var includeSource = % ToBoolean ( request . arguments . includeSource ) ;
2131
2131
response . setOption ( 'includeSource' , includeSource ) ;
2132
2132
}
2133
2133
0 commit comments