Closed Bug 854178 Opened 11 years ago Closed 7 years ago

The debugger should do something smart when an app is updated in the simulator

Categories

(DevTools :: Debugger, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: vporof, Unassigned)

References

Details

(Whiteboard: [b2g])

This seemed to happen a lot yesterday at a local Firefox OS app hacking event: suppose you're working locally on an app and you're in the midst of debugging. You realize what's wrong and go to your favorite editor to change something in the source. Then you hit update in the Simulator dashboard, but the debugger doesn't update. In fact, it doesn't do anything and you're stuck with the old sources. Even worse, if you were paused on a breakpoint when hitting update, the simulator either appears to be unresponsive and you have no idea why, or it even actually freezes to death in some cases with no option other than force-closing it.

All of this results in pretty annoying "make sure debugger is not paused, close toolbox, update app in the dashboard (hope it works), reconnect, switch to debugger, find your source again, add all of your breakpoints again" cycles.

Surely we can be smarter about this.
See Also: → 797627
Whiteboard: [b2g]
Priority: -- → P3
Component: Developer Tools: Debugger → Developer Tools: User Stories
I imagine this is fixed now? Thanks to the reload button in WebIDE?
(In reply to Alexandre Poirot [:ochameau] from comment #1)
> I imagine this is fixed now? Thanks to the reload button in WebIDE?

We might be closer, but see bug 1149350, we may need "force reload".
Depends on: 1149350
Seems no longer relevant given FxOS status.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
Component: Developer Tools: User Stories → Developer Tools: Debugger
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.