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

Side by Side Diff: src/debug/liveedit.js

Issue 2503293002: [debug-wrapper] LiveEdit, frame.restart(), breakpoints (Closed)
Patch Set: Update .status 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 | « src/contexts.h ('k') | src/runtime/runtime.h » ('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 // LiveEdit feature implementation. The script should be executed after 5 // LiveEdit feature implementation. The script should be executed after
6 // debug.js. 6 // debug.js.
7 7
8 // A LiveEdit namespace. It contains functions that modifies JavaScript code 8 // A LiveEdit namespace. It contains functions that modifies JavaScript code
9 // according to changes of script source (if possible). 9 // according to changes of script source (if possible).
10 // 10 //
(...skipping 1103 matching lines...) Expand 10 before | Expand all | Expand 10 after
1114 LiveEdit.Failure = Failure; 1114 LiveEdit.Failure = Failure;
1115 1115
1116 LiveEdit.TestApi = { 1116 LiveEdit.TestApi = {
1117 PosTranslator: PosTranslator, 1117 PosTranslator: PosTranslator,
1118 CompareStrings: CompareStrings, 1118 CompareStrings: CompareStrings,
1119 ApplySingleChunkPatch: ApplySingleChunkPatch 1119 ApplySingleChunkPatch: ApplySingleChunkPatch
1120 }; 1120 };
1121 1121
1122 global.Debug.LiveEdit = LiveEdit; 1122 global.Debug.LiveEdit = LiveEdit;
1123 1123
1124 %InstallToContext(["debug_live_edit", LiveEdit]);
Yang 2016/11/17 07:54:08 I don't think we need a context slot for this. We
jgruber 2016/11/17 08:15:03 Good point, this really simplifies things. Done.
1124 }) 1125 })
OLDNEW
« no previous file with comments | « src/contexts.h ('k') | src/runtime/runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698