1- *debug.txt* For Vim version 9.1. Last change: 2025 Aug 10
1+ *debug.txt* For Vim version 9.1. Last change: 2025 Oct 12
22
33
44 VIM REFERENCE MANUAL by Bram Moolenaar
@@ -71,8 +71,8 @@ some steps to provide a useful bug report.
71713.1 GENERIC ~
7272
7373You must obtain the debugger symbols (PDB) file for your executable: gvim.pdb
74- for gvim.exe, or vim.pdb for vim.exe. The PDB should be available from the
75- same place that you obtained the executable. Be sure to use the PDB that
74+ for gvim.exe, or vim.pdb for vim.exe. The PDB should be available from the
75+ same place that you obtained the executable. Be sure to use the PDB that
7676matches the EXE (same date).
7777
7878If you built the executable yourself with the Microsoft Visual C++ compiler,
@@ -115,7 +115,7 @@ If you have a non-free version of Visual Studio, you can save a minidump via
115115the Debug menu and send it with the bug report. A minidump is a small file
116116(<100KB), which contains information about the state of your process.
117117Visual C++ 2005 Express Edition cannot save minidumps and it cannot be
118- installed as a just-in-time debugger. Use WinDbg, | debug-windbg | , if you
118+ installed as a just-in-time debugger. Use WinDbg, | debug-windbg | , if you
119119need to save minidumps or you want a just-in-time (postmortem) debugger.
120120
121121 *debug-windbg*
@@ -125,21 +125,21 @@ See |get-ms-debuggers| to obtain a copy of WinDbg.
125125
126126As with the Visual Studio IDE, you can attach WinDbg to a running Vim process.
127127You can also have your system automatically invoke WinDbg as a postmortem
128- debugger. To set WinDbg as your postmortem debugger, run "windbg -I".
128+ debugger. To set WinDbg as your postmortem debugger, run "windbg -I".
129129
130- To attach WinDbg to a running Vim process, launch WinDbg. On the File menu,
131- choose Attach to a Process. Select the Vim process and click OK.
130+ To attach WinDbg to a running Vim process, launch WinDbg. On the File menu,
131+ choose Attach to a Process. Select the Vim process and click OK.
132132
133133At this point, choose Symbol File Path on the File menu, and add the folder
134- containing your Vim PDB to the sympath. If you have Vim source available,
135- use Source File Path on the File menu. You can now open source files in WinDbg
136- and set breakpoints, if you like. Reproduce your crash. WinDbg should open the
137- source file at the point of the crash. Using the View menu, you can examine
138- the call stack, local variables, watch windows, and so on.
134+ containing your Vim PDB to the sympath. If you have Vim source available,
135+ use Source File Path on the File menu. You can now open source files in
136+ WinDbg and set breakpoints, if you like. Reproduce your crash. WinDbg should
137+ open the source file at the point of the crash. Using the View menu, you can
138+ examine the call stack, local variables, watch windows, and so on.
139139
140140If WinDbg is your postmortem debugger, you do not need to attach WinDbg to
141- your Vim process. Simply reproduce the crash and WinDbg will launch
142- automatically. As above, set the Symbol File Path and the Source File Path.
141+ your Vim process. Simply reproduce the crash and WinDbg will launch
142+ automatically. As above, set the Symbol File Path and the Source File Path.
143143
144144To save a minidump, type the following at the WinDbg command line: >
145145 .dump vim.dmp
@@ -150,11 +150,11 @@ To save a minidump, type the following at the WinDbg command line: >
150150If you have a minidump file, you can open it in Visual Studio or in WinDbg.
151151
152152In Visual Studio 2005: on the File menu, choose Open, then Project/Solution.
153- Navigate to the .dmp file and open it. Now press F5 to invoke the debugger.
153+ Navigate to the .dmp file and open it. Now press F5 to invoke the debugger.
154154Follow the instructions in | debug-vs2005 | to set the Symbol File Path.
155155
156- In WinDbg: choose Open Crash Dump on the File menu. Follow the instructions in
157- | debug-windbg | to set the Symbol File Path.
156+ In WinDbg: choose Open Crash Dump on the File menu. Follow the instructions
157+ in | debug-windbg | to set the Symbol File Path.
158158
159159 *get-ms-debuggers*
1601603.5 Obtaining Microsoft Debugging Tools ~
0 commit comments