Docs Party 2024 (#15876)
Co-authored-by: Raunak Raj <nkray21111983@gmail.com> Co-authored-by: Thorsten Ball <mrnugget@gmail.com> Co-authored-by: Bennet <bennet@zed.dev> Co-authored-by: Marshall Bowers <elliott.codes@gmail.com> Co-authored-by: Joseph T Lyons <JosephTLyons@gmail.com> Co-authored-by: Mikayla <mikayla@zed.dev> Co-authored-by: Jason <jason@zed.dev> Co-authored-by: Antonio Scandurra <me@as-cii.com> Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com> Co-authored-by: Marshall <marshall@zed.dev> Co-authored-by: Nathan Sobo <nathan@zed.dev> Co-authored-by: Jason Mancuso <7891333+jvmncs@users.noreply.github.com> Co-authored-by: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com>
This commit is contained in:
parent
c633fa5a10
commit
eb3c4b0e46
100 changed files with 2564 additions and 457 deletions
|
@ -2,9 +2,12 @@
|
|||
|
||||
## Crashes
|
||||
|
||||
When an app crashes, macOS creates a `.ips` file in `~/Library/Logs/DiagnosticReports`. You can view these using the built in Console app (`cmd-space Console`) under "Crash Reports".
|
||||
When an app crashes,
|
||||
|
||||
If you have enabled Zed's telemetry these will be uploaded to us when you restart the app. They end up in Datadog, and a [Slack channel (internal only)](https://zed-industries.slack.com/archives/C04S6T1T7TQ).
|
||||
- macOS creates a `.ips` file in `~/Library/Logs/DiagnosticReports`. You can view these using the built in Console app (`cmd-space Console`) under "Crash Reports".
|
||||
- Linux creates a core dump. See the [man pages](https://man7.org/linux/man-pages/man5/core.5.html) for pointers to how your system might be configured to manage core dumps.
|
||||
|
||||
If you have enabled Zed's telemetry these will be uploaded to us when you restart the app. They end up in a [Slack channel (internal only)](https://zed-industries.slack.com/archives/C04S6T1T7TQ).
|
||||
|
||||
These crash reports are generated by the crashing binary, and contain a wealth of information; but they are hard to read for a few reasons:
|
||||
|
||||
|
@ -12,9 +15,9 @@ These crash reports are generated by the crashing binary, and contain a wealth o
|
|||
- The symbols are [mangled](https://doc.rust-lang.org/rustc/symbol-mangling/index.html)
|
||||
- Inlined functions are elided
|
||||
|
||||
To get a better sense of the backtrace of a crash you can download the `.ips` file locally and run:
|
||||
On macOS, to get a better sense of the backtrace of a crash you can download the `.ips` file locally and run:
|
||||
|
||||
```
|
||||
```sh
|
||||
./script/symbolicate ~/path/zed-XXX-XXX.ips
|
||||
```
|
||||
|
||||
|
@ -24,6 +27,6 @@ The output contains the source file and line number, and the demangled symbol in
|
|||
|
||||
## Panics
|
||||
|
||||
When the app panics at the rust level, Zed creates a file in `~/Library/Logs/Zed` with the text of the panic, and a summary of the backtrace. On boot, if you have telemetry enabled, we upload these panics so we can keep track of them.
|
||||
When the app panics at the rust level, Zed creates a file in `~/Library/Logs/Zed` or `$XDG_DATA_HOME/logs` with the text of the panic, and a summary of the backtrace. On boot, if you have telemetry enabled, we upload these panics so we can keep track of them.
|
||||
|
||||
A panic is also considered a crash, and so for most panics we get both the crash report and the panic.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue