OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 "use strict"; | 4 "use strict"; |
5 | 5 |
6 // Default number of frames to include in the response to backtrace request. | 6 // Default number of frames to include in the response to backtrace request. |
7 var kDefaultBacktraceLength = 10; | 7 var kDefaultBacktraceLength = 10; |
8 | 8 |
9 var Debug = {}; | 9 var Debug = {}; |
10 | 10 |
(...skipping 2549 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2560 case 'string': | 2560 case 'string': |
2561 case 'number': | 2561 case 'number': |
2562 json = value; | 2562 json = value; |
2563 break; | 2563 break; |
2564 | 2564 |
2565 default: | 2565 default: |
2566 json = null; | 2566 json = null; |
2567 } | 2567 } |
2568 return json; | 2568 return json; |
2569 } | 2569 } |
OLD | NEW |