1460882428-150a9845-b328-4152-81f0-e20ecbe6eed6

1. A method comprising, by one or more computing systems:
receiving a message including a thread identifier or a list of conversation participants;
if the message includes a thread identifier, then appending the message to a locally-stored conversation thread possessing the same thread identifier;
if the message includes a list of participants, then:
searching a plurality of locally-stored conversation threads for a conversation threads having participants matching the list of participants; and
in response to a match, appending the message to the matching thread;
in response to failing to find a match, generating an offline identifier for the message and storing the message locally.
2. The method of claim 1, wherein the offline identifier is a universally unique identifier (UUID).
3. The method of claim 1, further comprising:
generating a message object;
if the message includes a thread identifier, then adding a message body and the thread identifier to the message object;
if the message includes a list of participants, then adding a message body, the list of participants, and the offline identifier to the message object;
transmitting, to a server, the message object and a request for the server to store the message in a mailbox associated with the one or more computing systems.
4. The method of claim 3, wherein the message object is a JavaScript object notation (JSON) object.
5. The method of claim 3, further comprising:
receiving, from a server, a thread identifier for one or more locally stored messages lacking thread identifiers.
6. The method of claim 1, wherein the message is a short message service (SMS) or multimedia service (MMS) message, and is received from an external endpoint represented by a phone number.
7. The method of claim 1, wherein the message is a short message service (SMS) or multimedia service (MMS) message, and is received from a short code.
8. The method of claim 1, wherein the message is an outgoing message received from a graphical user interface including a list of participants.
9. The method of claim 1, wherein the message is a call-log for an outgoing voice call received from a dialer application including a list of participants.
10. The method of claim 1, wherein the message is a call-log for an incoming voice call received from a dialer application including a list of participants.
11. A non-transitory, computer-readable media comprising instructions operable, when executed by one or more computing systems, to:
receive a message including a thread identifier or a list of conversation participants;
if the message includes a thread identifier, then append the message to a locally-stored conversation thread possessing the same thread identifier;
if the message includes a list of participants, then:
search a plurality of locally-stored conversation threads for a conversation threads having participants matching the list of participants; and
in response to a match, append the message to the matching thread;
in response to failing to find a match, generate an offline identifier for the message and storing the message locally.
12. The media of claim 11, wherein the offline identifier is a universally unique identifier (UUID).
13. The media of claim 11, the instructions further operable, when executed by one or more computing systems, to:
generate a message object;
if the message includes a thread identifier, then add a message body and the thread identifier to the message object;
if the message includes a list of participants, then add a message body, the list of participants, and the offline identifier to the message object;
transmit, to a server, the message object and a request for the server to store the message in a mailbox associated with the one or more computing systems.
14. The media of claim 13, wherein the message object is a JavaScript object notation (JSON) object.
15. The media of claim 13, the instructions further operable, when executed by one or more computing systems, to:
receive, from a server, a thread identifier for one or more locally stored messages lacking thread identifiers.
16. The media of claim 11, wherein the message is a short message service (SMS) or multimedia service (MMS) message, and is received from an external endpoint represented by a phone number.
17. The media of claim 11, wherein the message is a short message service (SMS) or multimedia service (MMS) message, and is received from a short code.
18. The media of claim 11, wherein the message is an outgoing message received from a graphical user interface including a list of participants.
19. The media of claim 11, wherein the message is a call-log for an outgoing voice call received from a dialer application including a list of participants.
20. An apparatus comprising:
one or more processors;
a communications interface;
one or more non-transitory, computer-readable media comprising instructions operable, when executed by the one or more processors, to:
receive a message including a thread identifier or a list of conversation participants;
if the message includes a thread identifier, then append the message to a locally-stored conversation thread possessing the same thread identifier;
if the message includes a list of participants, then:
search a plurality of locally-stored conversation threads for a conversation threads having participants matching the list of participants; and
in response to a match, append the message to the matching thread;
in response to failing to find a match, generate an offline identifier for the message and storing the message locally.

The claims below are in addition to those above.
All refrences to claim(s) which appear below refer to the numbering after this setence.

1. A method comprising:
obtaining address data of an original instruction in an original instruction stream;
obtaining kernel mode data comprising a kernel breakpoint handler;
obtaining user mode data comprising a user breakpoint handler;
creating a trampoline comprising a copy of the original instruction, a set of instructions for performing a call to the user breakpoint handler, a set of instructions for saving register states and stack data of the original instruction, and a set of instructions for restoring the register states and the stack data of the original instruction;
registering the kernel breakpoint handler to associate the trampoline with a breakpoint instruction;
replacing the original instruction with the breakpoint instruction;
detecting the breakpoint instruction; and
subsequent to detecting the breakpoint instruction, executing the trampoline by operation of one or more processors, wherein executing the trampoline comprises executing the original instruction.
2. The method according to claim 1, further comprising:
allocating a page of a process address space;
storing the trampoline in the page; and
copying the user breakpoint handler to the page.
3. The method according to claim 1, wherein the trampoline further comprises a set of instructions for performing a jump to a next instruction following the original instruction in the original instruction stream.
4. The method according to claim 2, wherein allocating the page comprises mapping the page to the process address space.
5. The method according to claim 1, wherein executing the trampoline further comprises at least one of saving the register states and the stack data of the original instruction and restoring the register states and the stack data of the original instruction.
6. The method according to claim 1, wherein executing the trampoline further comprises jumping to a next instruction following the original instruction in the original instruction stream.
7. The method according to claim 1, further comprising:
calling the kernel breakpoint handler; and
modifying an instruction pointer via the kernel breakpoint handler such that the instruction pointer points to the trampoline.
8. A computer program product including a non-transitory computer readable medium having program code instructions embodied therewith, the program code instructions executable by a computing device to perform an operation comprising:
obtaining address data of an original instruction in an original instruction stream;
obtaining kernel mode data comprising a kernel breakpoint handler;
obtaining user mode data comprising a user breakpoint handler;
creating a trampoline comprising a copy of the original instruction, a set of instructions for performing a call to the user breakpoint handler, a set of instructions for saving register states and stack data of the original instruction, and a set of instructions for restoring the register states and the stack data of the original instruction;
registering the kernel breakpoint handler to associate the trampoline with a breakpoint instruction;
replacing the original instruction with the breakpoint instruction;
detecting the breakpoint instruction; and
subsequent to detecting the breakpoint instruction, executing the trampoline by operation of one or more processors, wherein executing the trampoline comprises executing the original instruction.
9. The computer program product according to claim 8, wherein the operation further comprises:
allocating a page of a process address space;
storing the trampoline in the page; and
copying the user breakpoint handler to the page.
10. The computer program product according to claim 8, wherein the trampoline further comprises a set of instructions for performing a jump to a next instruction following the original instruction in the original instruction stream.
11. The computer program product according to claim 9, wherein allocating the page comprises mapping the page to the process address space.
12. The computer program product according to claim 8, wherein executing the trampoline further comprises at least one of saving the register states and the stack data of the original instruction and restoring the register states and the stack data of the original instruction.
13. The computer program product according to claim 8, wherein executing the trampoline further comprises jumping to a next instruction following the original instruction in the original instruction stream.
14. The computer program product according to claim 8, wherein the operation further comprises:
calling the kernel breakpoint handler; and
modifying an instruction pointer via the kernel breakpoint handler such that the instruction pointer points to the trampoline.
15. A system comprising:
a processor; and
a memory storing instructions, which, when executed on the processor, perform an operation comprising:
obtaining address data of an original instruction in an original instruction stream;
obtaining kernel mode data comprising a kernel breakpoint handler;
obtaining user mode data comprising a user breakpoint handler;
creating a trampoline comprising a copy of the original instruction, a set of instructions for performing a call to the user breakpoint handler, a set of instructions for saving register states and stack data of the original instruction, and a set of instructions for restoring the register states and the stack data of the original instruction;
registering the kernel breakpoint handler to associate the trampoline with a breakpoint instruction;
replacing the original instruction with the breakpoint instruction;
detecting the breakpoint instruction; and
subsequent to detecting the breakpoint instruction, executing the trampoline by operation of one or more processors, wherein executing the trampoline comprises executing the original instruction.
16. The system according to claim 15, wherein the operation further comprises:
allocating a page of a process address space;
storing the trampoline in the page; and
copying the user breakpoint handler to the page.
17. The system according to claim 15, wherein the trampoline further comprises a set of instructions for performing a jump to a next instruction following the original instruction in the original instruction stream.
18. The system according to claim 15, wherein executing the trampoline further comprises at least one of saving the register states and the stack data of the original instruction and restoring the register states and the stack data of the original instruction.
19. The system according to claim 15, wherein executing the trampoline further comprises jumping to a next instruction following the original instruction in the original instruction stream.
20. The system according to claim 15, wherein the operation further comprises:
calling the kernel breakpoint handler; and
modifying an instruction pointer via the kernel breakpoint handler such that the instruction pointer points to the trampoline.