The default bug view has changed. See this FAQ.

Make it more convenient to break on protocol errors

RESOLVED FIXED in mozilla17

Status

()

Core
IPC
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: cjones, Assigned: cjones)

Tracking

Trunk
mozilla17
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

We've discussed this several times in the past, and when looking at bug 767480 I sorely needed this so wrote it.

The upcoming patch adds the interface mozilla::ipc::ProtocolErrorBreakpoint(), which prints to stdout in DEBUG builds and may be breakable in opt builds.  All deserialization etc errors call this function.
Created attachment 644213 [details] [diff] [review]
Implement ProtocolErrorBreakpoint() for easier debugging of IPC errors
Assignee: nobody → jones.chris.g
Attachment #644213 - Flags: review?(bent.mozilla)
Comment on attachment 644213 [details] [diff] [review]
Implement ProtocolErrorBreakpoint() for easier debugging of IPC errors

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

Sweet!
Attachment #644213 - Flags: review?(bent.mozilla) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/78a198fc21d5
https://hg.mozilla.org/mozilla-central/rev/78a198fc21d5
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla17
You need to log in before you can comment on or make changes to this bug.