Skip to content

Commit b5eefb6

Browse files
committed
Bug 1530699 - Apply breakpoints to all discovered sources, r=loganfsmyth.
1 parent 4651dde commit b5eefb6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

devtools/server/actors/thread.js

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

11431143
onSources: function(request) {
1144-
// FIXME bug 1530699 we should make sure that existing breakpoints are
1145-
// applied to any sources we find here.
11461144
for (const source of this.dbg.findSources()) {
1147-
this.sources.createSourceActor(source);
1145+
this._addSource(source);
11481146
}
11491147

11501148
// No need to flush the new source packets here, as we are sending the

0 commit comments

Comments
 (0)