Windbg usage Configuration

Source: Internet
Author: User

SRV * D:/wdbgzone/websymbols * http://msdl.microsoft.com/download/symbols;d:/wdbgzone/pdb

 

Debugdiag: Tools --> options and settings ......
Symbol search path for analysis
SRV * D:/wdbgzone/websymbols * http://msdl.microsoft.com/download/symbols;d:/wdbgzone/pdb

Windbg: file --> symbol path
SRV * D:/wdbgzone/websymbols * http://msdl.microsoft.com/download/symbols;d:/wdbgzone/pdb

Environment variable (CMD set can detect the result)

_ Nt_symbol_path
SRV * D:/wdbgzone/websymbols * http://msdl.microsoft.com/download/symbols;d:/wdbgzone/pdb

Pending:
Script:
Cscript F:/wdbgzone/windbg/adplus. vbs-Hang-PN bizserver.exe-o f:/wdbgzone/dumps-quiet
Command:
CMD --> enter the windbg directory-> cscript adplus. vbs-Hang-PN bizserver.exe-O path (F:/wdbgzone/dumps)-quiet

Crash:
Script:
Cscript F:/wdbgzone/windbg/adplus. vbs-crash-PN bizserver.exe-o f:/wdbgzone/dumps-quiet
Command:
CMD --> enter the windbg directory-> cscript adplus. vbs-crash-PN bizserver.exe-O path (F:/wdbgzone/dumps )-

Quiet

Overall process:

1. Create the wdbgzone file, install windbg and debugdiag, and set options for the wdbgzone subdirectory (websymbols, PDB, and dumps:

Debugdiag: Tools --> options and settings ......
Symbol search path for analysis
SRV * D:/wdbgzone/websymbols * http://msdl.microsoft.com/download/symbols;d:/wdbgzone/pdb

Windbg: file --> symbol path
SRV * D:/wdbgzone/websymbols * http://msdl.microsoft.com/download/symbols;d:/wdbgzone/pdb

2. Set environment variables (CMD set can detect the results)

_ Nt_symbol_path
SRV * D:/wdbgzone/websymbols * http://msdl.microsoft.com/download/symbols;d:/wdbgzone/pdb

3. Obtain PDB;

4. RunProgram;

5. Run the command.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.