Commit Graph

2 Commits

Author SHA1 Message Date
Alex Hoppen
51e7961306 Append a suffix at then end of a chunk logged by splitLongMultilineMessage
`os_log` truncates trailing whitespace in a log message. If a chunk containing the file contents ends with a newline, this means that the newline will not get logged and thus the file contents read from the log aren't correct. Append an end marker to each chunk to prevent this trimming.
2024-01-26 15:18:23 -08:00
Alex Hoppen
1a23153fd5 When sourcekitd crashes, log the file contents with which it crashed and the request
This should make it a lot easier to reproduce sourcekitd crashes.
2023-10-31 08:30:54 -07:00