Content-Length: 57053 | pFad | https://zed.dev/docs/ai/../migrate/../ai/../development/debugging-crashes.html

Debugging Crashes | Debugging Crashes
Download

Debugging Crashes

When Zed panics or crashes, it sends a message to a sidecar process that inspects the editor's memory and creates a minidump in ~/Library/Logs/Zed or $XDG_DATA_HOME/zed/logs. You can use this minidump to generate backtraces for all thread stacks.

If telemetry is enabled, Zed uploads these reports when you restart the app. Reports are sent to a Slack channel and to Sentry (both are Zed-staff-only).

These crash reports include useful data, but they are hard to read without spans or symbol information. You can still analyze them locally by downloading source and an unstripped binary (or separate symbols file) for your Zed release, then running:

zstd -d ~/.local/share/zed/<uuid>.dmp -o minidump.dmp
minidump-stackwalk minidump.dmp

Alongside the minidump in your logs directory, you should also see a <uuid>.json file with metadata such as the panic message, span, and system specs.

Using a Debugger

If you can reproduce the crash consistently, use a debugger to inspect program state at the crash point.

For setup details, see Using a debugger.









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://zed.dev/docs/ai/../migrate/../ai/../development/debugging-crashes.html

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy