Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(64)

Side by Side Diff: src/debug-debugger.js

Issue 690263004: Introduce new stepping mode to step into another frame. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: fix test case and fix throw-catch handling Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/debug.cc ('k') | src/objects.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 };
OLDNEW
« no previous file with comments | « src/debug.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698