Open Bug 1786269 Opened 2 years ago Updated 2 years ago

Create new reducer/selector to manage breakableLines

Categories

(DevTools :: Debugger, enhancement)

enhancement

Tracking

(Not tracked)

People

(Reporter: bomsy, Unassigned)

Details

Currently we hold breakableLines information in 2 different reducers.

In the sources reducer, breakableLines for original sources are stored. See https://searchfox.org/mozilla-central/rev/9cd1e8cabf67ef5a47e95d70b7f40c9d3ad02ad0/devtools/client/debugger/src/reducers/sources.js#42

In the source Actor reducer breakableLines for the generated sources are stored. See https://searchfox.org/mozilla-central/rev/9cd1e8cabf67ef5a47e95d70b7f40c9d3ad02ad0/devtools/client/debugger/src/reducers/source-actors.js#28

This adds some confusion, and difficulty in understanding what is going on.

Lets unify the breakableLines information is a dedicated reducer/selector.

No longer blocks: 1769787, 1785271
You need to log in before you can comment on or make changes to this bug.