Closed Bug 737798 Opened 12 years ago Closed 12 years ago

Adding a breakpoint in a non-sensical place briefly shows the icon

Categories

(DevTools :: Debugger, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: past, Unassigned)

Details

Adding a breakpoint in the editor in a line that does not contain a script (or where setBreakpoint returns an error) briefly flashes the icon. It would be best if we didn't show the icon until we got a successful response from setBreakpoint.
Priority: -- → P3
After some more discussion with Mihai, we agreed that delaying the display of the icon would be worse in remote debugging scenarios, because the user wouldn't get any feedback for quite some time. We could show a greyed-out or semi-transparent icon until we get a response from the server and either display the normal icon on success, or hide it on failure.
yeah, that sounds good. We should have *some* form of immediate feedback so the user doesn't feel compelled to keep clicking and sending multiple set/clear breakpoint requests to the server.
Bug 799077 is related. Maybe a dupe.
Actually the behavior described in comment 0 no longer exists. We now set a breakpoint always, because a scavenged script may exist at that line and reappear after a reload.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.