[debug] re-add feature tracking for LiveEdit
R=bmeurer@chromium.org Change-Id: I45d41d6074cdf117cdef6128f8544e1a882615c0 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1849513 Reviewed-by: Benedikt Meurer <bmeurer@chromium.org> Commit-Queue: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#64180}
This commit is contained in:
parent
6396199878
commit
fa067a6f76
@ -1901,6 +1901,7 @@ bool Debug::CanBreakAtEntry(Handle<SharedFunctionInfo> shared) {
|
||||
bool Debug::SetScriptSource(Handle<Script> script, Handle<String> source,
|
||||
bool preview, debug::LiveEditResult* result) {
|
||||
DebugScope debug_scope(this);
|
||||
feature_tracker()->Track(DebugFeatureTracker::kLiveEdit);
|
||||
running_live_edit_ = true;
|
||||
LiveEdit::PatchScript(isolate_, script, source, preview, result);
|
||||
running_live_edit_ = false;
|
||||
|
Loading…
Reference in New Issue
Block a user