Closed Bug 1591975 Opened 6 years ago Closed 6 years ago

Expanding an object with a watchpoint in the console fails

Categories

(DevTools :: Debugger, defect, P3)

defect

Tracking

(firefox72 fixed)

RESOLVED FIXED
Firefox 72
Tracking Status
firefox72 --- fixed

People

(Reporter: jlast, Assigned: malikanshul29)

References

Details

Attachments

(1 file)

What were you doing?

  1. pause on line 34 in todomvc, todo-view.js
  2. add a watchpoint to this.model.attributes.title
  3. evaluate `this.model.attributes in the console
  4. click on the object to expand

I get this error when I try to reproduce the issue:
console.error: (new ReferenceError("L10N is not defined", "resource://devtools/client/shared/components/reps/reps.js", 8434))

L10N is not defined here : https://searchfox.org/mozilla-central/source/devtools/client/debugger/packages/devtools-reps/src/object-inspector/components/ObjectInspectorItem.js#316

This piece of code works in scopes pane, but throws error in console, not sure why.

Pushed by jlaster@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fb814ba461b8 Summary: Do not render Watchpoint button in console r=jlast
Priority: -- → P3
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 72
Assignee: nobody → malikanshul29
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: