Commit fa067a6f authored by Yang Guo's avatar Yang Guo Committed by Commit Bot

[debug] re-add feature tracking for LiveEdit

R=bmeurer@chromium.org

Change-Id: I45d41d6074cdf117cdef6128f8544e1a882615c0
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1849513Reviewed-by: 's avatarBenedikt Meurer <bmeurer@chromium.org>
Commit-Queue: Yang Guo <yangguo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#64180}
parent 63961998
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment