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

Unified Diff: src/debug-debugger.js

Issue 1090003: LiveEdit: update breakpoint positions for non-changed functions (Closed)
Patch Set: follow codereview Created 10 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/liveedit.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/debug-debugger.js
diff --git a/src/debug-debugger.js b/src/debug-debugger.js
index d9e0ecdd56b59f6d3a84057c84e64b8ad2bbe13d..ccec6af2fce28be88faeffaf87741234217ab03e 100644
--- a/src/debug-debugger.js
+++ b/src/debug-debugger.js
@@ -124,6 +124,12 @@ BreakPoint.prototype.source_position = function() {
};
+BreakPoint.prototype.updateSourcePosition = function(new_position, script) {
+ this.source_position_ = new_position;
+ // TODO(635): also update line and column.
+};
+
+
BreakPoint.prototype.hit_count = function() {
return this.hit_count_;
};
« no previous file with comments | « no previous file | src/liveedit.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698