Closed Bug 949908 Opened 11 years ago Closed 11 years ago

There should be only one way to start/stop tracing in the debugger

Categories

(DevTools :: Debugger, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 29

People

(Reporter: vporof, Assigned: fitzgen)

References

Details

Attachments

(1 file)

There's a button in the Traces tab that reads "Start Tracing". After pressing that, there's no corresponding "Stop Tracing" in the tab.

Initially I had no idea how to stop tracing, because I missed the tracer button in the toolbar.

We should have a more consistent way of starting/stopping tracing. I vote for having a single button, either in the toolbar, or in the traces tab.
Moreover, once you stop tracing, the "Start Tracing" button in the sidebar never comes back. Confusing.
As I said in bug 949909, I think we should remove the "start tracing" button and only show the "tracing has not started" message and center that message in the pane.
This one's a doozie.
Assignee: nobody → nfitzgerald
Status: NEW → ASSIGNED
Attachment #8349548 - Flags: review?(vporof)
Comment on attachment 8349548 [details] [diff] [review]
tracing-one-way-to-toggle-tracing.patch

Review of attachment 8349548 [details] [diff] [review]:
-----------------------------------------------------------------

::: browser/devtools/debugger/debugger.xul
@@ -395,5 @@
>                  <description value="&debuggerUI.tracingNotStarted.label;" />
> -                <button id="start-tracing"
> -                        class="devtools-toolbarbutton"
> -                        command="startTracing"
> -                        label="&debuggerUI.startTracing;"/>

Please file a bug about using the emptyText setter on the widget instead of providing this custom tracer message.
Attachment #8349548 - Flags: review?(vporof) → review+
https://hg.mozilla.org/mozilla-central/rev/1cc2d61ff1a8
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 29
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: