Share via

Is it posible to debug a kernel mode driver using local debugging in Windbg ?

Victor Mehta 196 Reputation points
2022-03-17T15:11:11.037+00:00

OK so I've built a kernel mode driver for both Windows 8.1 and Windows 10 and now need to debug the driver using Windbg configured to local debug mode. I can see exe modules that Windbg can attach to but not device drivers. Can this be done ?

Windows for business | Windows Client for IT Pros | Devices and deployment | Other

1 answer

Sort by: Most helpful
  1. hidaka 56,116 Reputation points MVP Volunteer Moderator
    2022-03-21T16:57:49.88+00:00

    You need to use WinDBG as a remote debug to perform those debugs. Anyway, you need to have two, target and host machines. Perhaps a VM is possible.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.