docs/md/Debugging-Sumatra.md
Help us debug Sumatra hangs or crashes
If Sumatra crashes or hangs reliably on your machine but we can't reproduce it ourselves, you can help us by debugging it. Here's a tutorial on how to do it.
Please first test with latest pre-release version from https://www.sumatrapdfreader.org/prerelease.html
Some bugs might already be fixed there compared to latest
Those instructions require SumatraPDF 3.2 or later.
We log information that might be helpful in diagnosing issues.
To see the logs: Ctrl + K (Command Palette), type show log
This saves logs to a file and opens default editor for .txt files with log file.
Debug / Download symbols. Symbols are important for the debugger (like WinDBG) to resolve addresses to names thatFirst, vocabulary. %ProgramFiles% means the standard directory where Windows installs programs. It's c:\Program Files on 32-bit Windows and c:\Program Files (x86) on 64-bit Windows.
To debug crashes:
.sympath+ SRV*c:\symbols*https://msdl.microsoft.com/download/symbolsg!analyze -v and paste the result of that to the bug reportHere are the steps to follow if Sumatra hangs
.sympath+ SRV*c:\symbols*https://msdl.microsoft.com/download/symbols~*kblmfAttach the output to bug report.