Closed Bug 1065952 Opened 11 years ago Closed 6 years ago

Sources not updated when reloading add-on

Categories

(DevTools :: Debugger, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: bugzilla.mozilla.org, Unassigned)

References

(Blocks 1 open bug)

Details

When using the extension auto-installer to reload addons during development the browser toolbox does not reflect those updates. I.e. it still shows the versions from the time it was loaded. Restarting the toolbox does show the new scripts, but that can be can be quite cumbersome.
> Restarting the toolbox does show the new scripts, but that can be can be quite cumbersome. Correction, I have to restart the browser and then the toolbox for the source views to be refreshed.
I strongly suspect this to be a duplicate of 893696. Leaving this open until I can confirm.
Also grouping this under the meta bug for add-on debugging.
Blocks: dbg-addon
Summary: Reloading an addon does not refresh script source in browser toolbox → Sources not updated when add-on is reloaded
Summary: Sources not updated when add-on is reloaded → Sources not updated when reloading add-on
Product: Firefox → DevTools

I am unsure what exactly is the auto-installer, but I tried:

  1. load and addon
  2. open its source file in the (web) Debugger
  3. Change the file in my text editor
  4. Click reload in about:debugging
  5. Reopen the Toolbox/Debugger -> the file is changed

Closing this report

Honza

Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.