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

Unified Diff: runtime/vm/service.cc

Issue 1586253002: Add PossibleBreakpoints source reporting. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 11 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 | « runtime/vm/debugger.cc ('k') | runtime/vm/source_report.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/service.cc
diff --git a/runtime/vm/service.cc b/runtime/vm/service.cc
index 631a4ec96c50da5bf7d08b7cfbaf82452cc168be..d51948c7827017b9d6f686dc7b80d70be8f0c2cc 100644
--- a/runtime/vm/service.cc
+++ b/runtime/vm/service.cc
@@ -2313,11 +2313,13 @@ static bool GetCoverage(Thread* thread, JSONStream* js) {
static const char* kCallSitesStr = "CallSites";
static const char* kCoverageStr = "Coverage";
+static const char* kPossibleBreakpointsStr = "PossibleBreakpoints";
static const char* const report_enum_names[] = {
kCallSitesStr,
kCoverageStr,
+ kPossibleBreakpointsStr,
NULL,
};
@@ -2346,6 +2348,8 @@ static bool GetSourceReport(Thread* thread, JSONStream* js) {
report_set |= SourceReport::kCallSites;
} else if (strcmp(*reports, kCoverageStr) == 0) {
report_set |= SourceReport::kCoverage;
+ } else if (strcmp(*reports, kPossibleBreakpointsStr) == 0) {
+ report_set |= SourceReport::kPossibleBreakpoints;
}
reports++;
}
« no previous file with comments | « runtime/vm/debugger.cc ('k') | runtime/vm/source_report.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698