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 | 4 |
5 // Default number of frames to include in the response to backtrace request. | 5 // Default number of frames to include in the response to backtrace request. |
6 var kDefaultBacktraceLength = 10; | 6 var kDefaultBacktraceLength = 10; |
7 | 7 |
8 var Debug = {}; | 8 var Debug = {}; |
9 | 9 |
10 // Regular expression to skip "crud" at the beginning of a source line which is | 10 // Regular expression to skip "crud" at the beginning of a source line which is |
(...skipping 15 matching lines...) Expand all Loading... |
26 | 26 |
27 // Types of exceptions that can be broken upon. | 27 // Types of exceptions that can be broken upon. |
28 Debug.ExceptionBreak = { Caught : 0, | 28 Debug.ExceptionBreak = { Caught : 0, |
29 Uncaught: 1 }; | 29 Uncaught: 1 }; |
30 | 30 |
31 // The different types of steps. | 31 // The different types of steps. |
32 Debug.StepAction = { StepOut: 0, | 32 Debug.StepAction = { StepOut: 0, |
33 StepNext: 1, | 33 StepNext: 1, |
34 StepIn: 2, | 34 StepIn: 2, |
35 StepMin: 3, | 35 StepMin: 3, |
36 StepInMin: 4 }; | 36 StepInMin: 4, |
| 37 StepFrame: 5 }; |
37 | 38 |
38 // The different types of scripts matching enum ScriptType in objects.h. | 39 // The different types of scripts matching enum ScriptType in objects.h. |
39 Debug.ScriptType = { Native: 0, | 40 Debug.ScriptType = { Native: 0, |
40 Extension: 1, | 41 Extension: 1, |
41 Normal: 2 }; | 42 Normal: 2 }; |
42 | 43 |
43 // The different types of script compilations matching enum | 44 // The different types of script compilations matching enum |
44 // Script::CompilationType in objects.h. | 45 // Script::CompilationType in objects.h. |
45 Debug.ScriptCompilationType = { Host: 0, | 46 Debug.ScriptCompilationType = { Host: 0, |
46 Eval: 1, | 47 Eval: 1, |
(...skipping 2532 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2579 | 2580 |
2580 default: | 2581 default: |
2581 json = null; | 2582 json = null; |
2582 } | 2583 } |
2583 return json; | 2584 return json; |
2584 } | 2585 } |
2585 | 2586 |
2586 Debug.TestApi = { | 2587 Debug.TestApi = { |
2587 CommandProcessorResolveValue: DebugCommandProcessor.resolveValue_ | 2588 CommandProcessorResolveValue: DebugCommandProcessor.resolveValue_ |
2588 }; | 2589 }; |
OLD | NEW |