WinDbg Learning (0x0004) Debugging session

Source: Internet
Author: User

Additional debugging

In an existing session. Attach

WINDBG Attach

Windbg-p pid or-PN processsname

Set WinDbg to JIT debugger (application crashes start startup WinDbg)

No intrusion additional debugging

Check the Attach-v or UI:

Creating a Process Debug

Open Execute

. Create

Pass the application command line to WinDbg when you start WinDbg

Automatically start WinDbg (in the registry) when you start the application

Kernel debugging

Dump file debugging

Stop Debugging

The Stop debugging stops debugging and exits the debug process or Q exits directly WinDbg

Deattach debugging or. Detach separation

. Abandon after discarding the process is still in a pending state need to attach again and then exit this state: Windbg-pe-p PID then stop

. Kill

. restart

Debug context
    • Session context

    • Process context

    • Register context

    • Local context

Symbol file

LM Command View module

LD. Reload Loading module symbols

X-Analysis Symbols

WinDbg Learning (0x0004) Debugging session

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.