Closed Bug 990137 Opened 10 years ago Closed 5 years ago

Remove legacy code for conditional breakpoints on the client

Categories

(DevTools :: Debugger, defect)

x86
macOS
defect
Not set
normal

Tracking

(firefox67 fixed)

RESOLVED FIXED
Firefox 67
Tracking Status
firefox67 --- fixed

People

(Reporter: jlong, Assigned: bhackett1024)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

In bug 812172 we implemented conditional breakpoint functionality in the debugger server. Before that, conditional breakpoints were handled client-side.

We need to keep the client-side handling functionality around so that users connecting to an older server will still have this functionality. Firefox OS does not update very quickly, and we can't remove the client-side functionality and leave them hanging until Firefox OS updates with the new server code.

This bug is a reminder to remove the old client-side code whenever most of the debugger servers have it. That might be a while (maybe end of 2014?), depends on how fast things like Firefox OS are updated.
Summary: Remove legacy code for client-side conditional breakpoint evaluation → Remove legacy code for conditional breakpoints in the client
Summary: Remove legacy code for conditional breakpoints in the client → Remove legacy code for conditional breakpoints on the client
Blocks: dbg-client
Product: Firefox → DevTools
Attached patch patchSplinter Review

It would be nice to remove this obsolete code.

Assignee: nobody → bhackett1024
Attachment #9037323 - Flags: review?(lsmyth)
Attachment #9037323 - Flags: review?(lsmyth) → review?(jlaster)
Comment on attachment 9037323 [details] [diff] [review]
patch

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

::: devtools/shared/client/breakpoint-client.js
@@ +60,4 @@
>     * Determines if this breakpoint has a condition
>     */
>    hasCondition: function() {
> +    return "condition" in this;

i think we can get rid of hasCondition and getCondition as well
Attachment #9037323 - Flags: review?(jlaster) → review+
Pushed by bhackett@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/bb17a7e03265
Remove obsolete handling code for client side conditional breakpoints, r=jlast.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 67
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: