Debugging Credential Provider with Visual Studio 2022 Remote Debugger

I installed Remote Tools for Visual Studio 2022 and run:

Started Remote Debugger as administrator on the remote machine:

Visual Studio 2022 asked for credentials:

and displayed the list of the processes:

I built the project with static runtime:

Visual Studio displayed my DLL as a module and I was able to set a breakpoint:

but it did not trigger when I entered a wrong password and tried to login.

I attached to a different instance of LogonUI.exe and the breakpoint started to trigger:

Leave a Reply

Your email address will not be published. Required fields are marked *