Skip to content

Commit 72fdaa5

Browse files
committed
Bug 1530699 - Apply breakpoints to all discovered sources, r=loganfsmyth.
UltraBlame original commit: 43963f700a1e06a01d46158177dccd3c3987c9c0
1 parent 3a97dc2 commit 72fdaa5

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

devtools/server/actors/thread.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1141,10 +1141,8 @@ const ThreadActor = ActorClassWithSpec(threadSpec, {
11411141
},
11421142

11431143
onSources: function(request) {
1144-
1145-
11461144
for (const source of this.dbg.findSources()) {
1147-
this.sources.createSourceActor(source);
1145+
this._addSource(source);
11481146
}
11491147

11501148

@@ -1761,7 +1759,6 @@ const ThreadActor = ActorClassWithSpec(threadSpec, {
17611759
pauseOnExceptions: this._options.pauseOnExceptions,
17621760
ignoreCaughtExceptions: this._options.ignoreCaughtExceptions,
17631761
skipBreakpoints: this.skipBreakpoints,
1764-
breakpoints: this.breakpointActorMap.listKeys(),
17651762
};
17661763
},
17671764
});

0 commit comments

Comments
 (0)