forked from adobe/brackets
-
Notifications
You must be signed in to change notification settings - Fork 278
Crash Logs
peterflynn edited this page Sep 29, 2014
·
5 revisions
Native crash logs are useful for diagnosing cases where the Brackets window disappears or goes blank suddenly. (If Brackets is misbehaving in other ways, please see Troubleshooting for other help).
- In Finder, choose Go > Go to Folder... in the menu
- Enter
~/Library/Logs/DiagnosticReports
- Look for a file that says "Brackets" in the name, with a timestamp matching the time of the crash
- Post the file's contents in a Gist and include the link in your bug report (or zip up the files and share them privately)
- On the Start menu, search for and run the "regedit" app
- Navigate down the tree and select: "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Windows Error Reporting"
- If there is no "LocalDumps" folder, choose Edit > New > Key to create it
- Inside the "LocalDumps" folder, choose Edit > New > Key and create a subfolder called
Brackets.exe
- Inside this "Brackets.exe" subfolder, choose Edit > New > DWORD. Enter
DumpType
for the name, then double-click it and enter1
for the value - Close regedit and restart your computer (or at least fully log off and log back on, which is almost as much work)
- Run Brackets until you see the problem again
- In a Windows folder view, enter
%LOCALAPPDATA%\CrashDumps
as the path - Look for a .dmp file whose timestamp matches when you saw the problem.
- Upload this file somewhere and include the link in your bug report (or zip up the file and share it privately)
If Brackets is still running, but has become unresponsive, follow these steps instead:
TBD
- Download the procdump utility
- Open Windows Task Manager and switch to the Processes tab
- Locate the two Brackets.exe processes and write down the PID (process id) for each
- You may have to use View > Select Columns to show the PID column
- Run
procdump <PID>
once for each of the two PIDs - Locate the two .dmp files - in the same folder as procdump.exe
- Upload these file somewhere and include the link in your bug report (or zip up the files and share the zip privately)
TBD
- Get the .pdb file (symbol table) for the build of Brackets that the crash log came from
- Launch windbg (x86 version)
- File > Symbol File Path:
SRV*<path to store cache in>*http://msdl.microsoft.com/download/symbols;<path to folder with .pdb file>
- File > Open Crash Dump (usually found in
%LOCALAPPDATA%\CrashDumps
) - Run
!analyze -v
to get exception type, stack trace, etc. - If the stack ends in our code (not CEF or OS), run
dv
to get local variables' values