Open Bug 1646490 Opened 4 years ago Updated 4 years ago

Adding a watchpoint from the console pauses the debugger

Categories

(DevTools :: Debugger, defect, P3)

defect

Tracking

(Not tracked)

People

(Reporter: jlast, Unassigned)

References

(Blocks 1 open bug)

Details

If I do the following:

  1. Open the console directly
  2. Evaluate x = { property: 1}
  3. Expand the object, and add a watchpoint on get
  4. Evaluate x.property
  5. The page seems to pause, the overlay appears and the debugger icon turns green, but the debugger does not open, which is a bit weird?
Severity: -- → S2
Priority: -- → P2

Do you have any idea why https://searchfox.org/mozilla-central/source/devtools/client/framework/toolbox.js#698 is conditional in the first place? It looks like that check landed in https://hg.mozilla.org/mozilla-central/rev/256e3e81fed77b17ea9158786a349698bb59a6ab and it's hard to tell why that might have needed the whitelist.

I can still reproduce the issue.
It should be fixed, but not S2, P2

Honza

Severity: S2 → S3
Priority: P2 → P3
You need to log in before you can comment on or make changes to this bug.