Client-specific debug state.

This commit is contained in:
Ben Vanik
2013-12-22 19:58:00 -08:00
parent 7098ed3b02
commit 5e9a2c6d27
11 changed files with 138 additions and 51 deletions

View File

@@ -142,7 +142,10 @@ module.service('Session', function(
// Add breakpoints.
var breakpointList = [];
for (var key in this.breakpoints) {
breakpointList.push(this.breakpoints[key]);
var breakpoint = this.breakpoints[key];
if (breakpoint.enabled) {
breakpointList.push(breakpoint);
}
}
ps.push(this.dataSource.addBreakpoints(breakpointList));