Open Bug 1582093 Opened 5 years ago Updated 2 years ago

It should be possible to add a Watchpoint from the Watch expression panel

Categories

(DevTools :: Debugger, enhancement, P3)

enhancement

Tracking

(Not tracked)

People

(Reporter: Honza, Unassigned)

References

(Blocks 1 open bug)

Details

The user should be able to add a new Watch point from the Watch expressions panel. This would be useful for:

  1. The user can set the BP when JS execution is currently resumed and there is no Scopes panel (in addition to do it from the Console panel)

  2. It would also help to set Watchpoints for (e.g. global) objects that are not easily accessible in the Scopes panel (sometimes you might need to expand and scroll a lot, to get to the right prop).

Honza

Blocks: dbg-watchpoints-m1
No longer blocks: dbg-watchpoints

I assume this only works when the expression itself is a property? Seems like a rare case and hard to indicate.

It would also help to set Watchpoints for (e.g. global) objects that are not easily accessible in the Scopes panel (sometimes you might need to expand and scroll a lot, to get to the right prop).

Interactive inline preview would help with this as well.

Blocks: dbg-watchpoints
No longer blocks: dbg-watchpoints-m1
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.