4d61726b / VirtualKD-Redux

VirtualKD-Redux - A revival and modernization of VirtualKD
GNU Lesser General Public License v2.1
779 stars 136 forks source link

can't select windbg preview path #12

Closed pyq881120 closed 4 years ago

pyq881120 commented 4 years ago
  1. my host is win10 10.0.18362.356
  2. VirtualKD-Redux 2020.1 windbg preview and Custmo radio checkbox can't click, now i'm run windbg preview, File-->Attach to Kernel , replace pipe name to VirtualKD-Redux Pipe name(eg: kd_Win7_x86) , final attach success
4d61726b commented 4 years ago

Can you attach a screenshot of the vmmon window in its broken state?

pyq881120 commented 4 years ago

1

4d61726b commented 4 years ago

I see the issue, your debugger type somehow got set to 1 (WINDBG.EXE) and the radio buttons are in a stuck state because that radio button is disabled.

A temporary workaround is to:

  1. Close vmmon.
  2. Change HKLM\SOFTWARE\BazisSoft\KdVMWare\Monitor\DebuggerType to 3.
  3. Reopen vmmon.

I will fix this in 2020.2. Thanks.

pyq881120 commented 4 years ago

now it work fine, but i select windbg preview path with C:\Program Files\WindowsApps\Microsoft.WinDbg_1.2001.2001.0_neutral__8wekyb3d8bbwe\DbgX.Shell, and start debugger automatically checked, the debugger can't automatic popup,I try click Run Debugger button, Also can't work,Do you need to restart after modification?

4d61726b commented 4 years ago

No, you shouldn't have to reboot. Additionally, it was unncessary to specify the Windbg Preview path because you didn't sideload it, you're using the version from the Microsoft Store.

It seems to be in a bad state, but I'm sure how we got there. Can you either attach a screenshot of "HKLM\SOFTWARE\BazisSoft\KdVMWare\Monitor" or attach an exported reg file so I can see all the values to try and reproduce it on my side?

pyq881120 commented 4 years ago

BazisSoft.reg.zip

Delete the .zip suffix and then import

4d61726b commented 4 years ago

That configuration works for me...

Can you try something:

  1. Close vmmon
  2. Delete "PreviewPath" from HKLM\SOFTWARE\BazisSoft\KdVMWare\Monitor
  3. Open vmmon
  4. Click the radio button for "Windbg Preview". Do not click the button to set the sideloaded path
  5. Click "Run Debugger"

This will try to load it a different way. Did that work?

If that didn't work, can you open up cmd.exe and type "windbgx" (without the quotes). Does that load Windbg Preview?

pyq881120 commented 4 years ago

now everything work fine, Thank you for providing such a good tool

4d61726b commented 4 years ago

Cool. Thanks for finding that bug.

stonedreamforest commented 3 years ago

That configuration works for me...

Can you try something:

  1. Close vmmon
  2. Delete "PreviewPath" from HKLM\SOFTWARE\BazisSoft\KdVMWare\Monitor
  3. Open vmmon
  4. Click the radio button for "Windbg Preview". Do not click the button to set the sideloaded path
  5. Click "Run Debugger"

This will try to load it a different way. Did that work?

If that didn't work, can you open up cmd.exe and type "windbgx" (without the quotes). Does that load Windbg Preview?

it's still can't launch:

Qf6ulFW6CW

4d61726b commented 3 years ago

Thanks for finding that issue. This will be fixed in the next release.