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

Side by Side Diff: src/runtime/runtime-debug.cc

Issue 2655253004: [inspector] introduced stepIntoAsync for chained callbacks (Closed)
Patch Set: added is_breakable into PromiseCreatedEvent Created 3 years, 10 months 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
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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 #include "src/runtime/runtime-utils.h" 5 #include "src/runtime/runtime-utils.h"
6 6
7 #include "src/arguments.h" 7 #include "src/arguments.h"
8 #include "src/compiler.h" 8 #include "src/compiler.h"
9 #include "src/debug/debug-evaluate.h" 9 #include "src/debug/debug-evaluate.h"
10 #include "src/debug/debug-frames.h" 10 #include "src/debug/debug-frames.h"
(...skipping 1815 matching lines...) Expand 10 before | Expand all | Expand 10 after
1826 } 1826 }
1827 1827
1828 RUNTIME_FUNCTION(Runtime_DebugPushPromise) { 1828 RUNTIME_FUNCTION(Runtime_DebugPushPromise) {
1829 DCHECK_EQ(1, args.length()); 1829 DCHECK_EQ(1, args.length());
1830 HandleScope scope(isolate); 1830 HandleScope scope(isolate);
1831 CONVERT_ARG_HANDLE_CHECKED(JSObject, promise, 0); 1831 CONVERT_ARG_HANDLE_CHECKED(JSObject, promise, 0);
1832 isolate->PushPromise(promise); 1832 isolate->PushPromise(promise);
1833 return isolate->heap()->undefined_value(); 1833 return isolate->heap()->undefined_value();
1834 } 1834 }
1835 1835
1836 RUNTIME_FUNCTION(Runtime_DebugSetNonBreakableAsyncEvents) {
1837 DCHECK_EQ(1, args.length());
1838 HandleScope scope(isolate);
1839 CONVERT_BOOLEAN_ARG_CHECKED(value, 0);
1840 isolate->debug()->set_non_breakable_async_events(value);
1841 return isolate->heap()->undefined_value();
1842 }
1836 1843
1837 RUNTIME_FUNCTION(Runtime_DebugPopPromise) { 1844 RUNTIME_FUNCTION(Runtime_DebugPopPromise) {
1838 DCHECK_EQ(0, args.length()); 1845 DCHECK_EQ(0, args.length());
1839 SealHandleScope shs(isolate); 1846 SealHandleScope shs(isolate);
1840 isolate->PopPromise(); 1847 isolate->PopPromise();
1841 return isolate->heap()->undefined_value(); 1848 return isolate->heap()->undefined_value();
1842 } 1849 }
1843 1850
1844 RUNTIME_FUNCTION(Runtime_DebugAsyncFunctionPromiseCreated) { 1851 RUNTIME_FUNCTION(Runtime_DebugAsyncFunctionPromiseCreated) {
1845 DCHECK_EQ(1, args.length()); 1852 DCHECK_EQ(1, args.length());
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
1886 } 1893 }
1887 1894
1888 1895
1889 RUNTIME_FUNCTION(Runtime_DebugBreakInOptimizedCode) { 1896 RUNTIME_FUNCTION(Runtime_DebugBreakInOptimizedCode) {
1890 UNIMPLEMENTED(); 1897 UNIMPLEMENTED();
1891 return NULL; 1898 return NULL;
1892 } 1899 }
1893 1900
1894 } // namespace internal 1901 } // namespace internal
1895 } // namespace v8 1902 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698