Closed Bug 775867 Opened 10 years ago Closed 10 years ago

Make it more convenient to break on protocol errors

Categories

(Core :: IPC, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla17

People

(Reporter: cjones, Assigned: cjones)

Details

Attachments

(1 file)

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.
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/mozilla-central/rev/78a198fc21d5
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla17
You need to log in before you can comment on or make changes to this bug.