Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Commit 10b02eb

Browse files
committed
Bug 1530699 - Apply breakpoints to all discovered sources, r=loganfsmyth.
--HG-- extra : rebase_source : 24bf939c56df08dfbf9f7bad37d06f96ae9118f8
1 parent 2c77f72 commit 10b02eb

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)