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

Side by Side Diff: test/debugger/debug/debug-step.js

Issue 2466273005: [debugger] Further stepping support in test wrapper (Closed)
Patch Set: Move more tests Created 4 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
« no previous file with comments | « test/debugger/debug/debug-stack-check-position.js ('k') | test/debugger/debug/debug-step-2.js » ('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 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 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 Debug = new DebugWrapper(); 5 Debug = new DebugWrapper();
6 Debug.enable(); 6 Debug.enable();
7 7
8 // Simple debug event handler which performs 100 steps and then retrieves 8 // Simple debug event handler which performs 100 steps and then retrieves
9 // the resulting value of "i" in f(). 9 // the resulting value of "i" in f().
10 10
(...skipping 23 matching lines...) Expand all
34 // Set a breakpoint on the for statement (line 1). 34 // Set a breakpoint on the for statement (line 1).
35 Debug.setBreakPoint(f, 1); 35 Debug.setBreakPoint(f, 1);
36 36
37 // Check that performing 100 steps will make i 33. 37 // Check that performing 100 steps will make i 33.
38 let step_count = 100; 38 let step_count = 100;
39 let result = -1; 39 let result = -1;
40 40
41 f(); 41 f();
42 42
43 assertEquals(33, result); 43 assertEquals(33, result);
OLDNEW
« no previous file with comments | « test/debugger/debug/debug-stack-check-position.js ('k') | test/debugger/debug/debug-step-2.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698