locked
Debugging WFP callout drivers RRS feed

  • Question

  • Apologies for the duplicate post but this seems to be the more appropriate forum

    http://code.msdn.microsoft.com/windowshardware/Windows-Filtering-Platform-16e9937e/view/Discussions#5217

    I'm new to the driver kit and am trying to figure out the workflow to debug WFP callout drivers, specifically the ddproxy sample. I am on VS2012 on a Win8 machine and I have provisioned another Win8 machine to be the debugging target as per the instructions I've found. However I'm not finding an option to "Enable deployment". The "Driver Install" item in project properties only shows "Package Files" and "KDFiles".

    My debugger is set to "Debugging Tools For Windows - Kernel Debugger". And it fails with the following message.
    "Driver Testing - An error occured deploying the driver(s) in the solution. The system cannot find the file specified".

    I'm obviously doing something completely wrong. Is there a seperate set of instructions on how debug callout drivers? Am I supposed to be deploying and debugging on the local machine?

    Thanks!

    Friday, November 9, 2012 2:34 AM

All replies

  • We normally use KD.exe to debug drivers.  Callout drivers are no different than any other driver in regards to debugging.  You do however have to get them installed on the system and loaded.  this can be done through an inf or using the Driver Package Installer (http://msdn.microsoft.com/en-us/library/windows/hardware/ff544842(v=vs.85).aspx)

    Hope this helps,


    Dusty Harper [MSFT]
    Microsoft Corporation
    ------------------------------------------------------------
    This posting is provided "AS IS", with NO warranties and confers NO rights
    ------------------------------------------------------------

    Friday, November 9, 2012 3:43 AM
    Moderator