Launching MSDEV as System Debugger
Posted on 2000-04-04
I'm trying to debug a service program using DebugBreak() on Windows NT 4.0 Workstation SP5. Under Visual Studio 97 (VC++ 5) a message box would pop up saying a debug break had been encountered. Cancel would launch an instance of VC++ 5.
I now have VC++ 6 installed and the following registry keys set:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug\Debugger =
E:\Microsoft Visual Studio\VC98\Bin\msdev.exe -p %ld -e %ld
My problem is that after it asks me whether I want to debug, no debugger is launched, and the service appears to be hanging while it waits for a debugger to come up.
I have the Platform SDK installed and I've tried replacing the above registry key with WinDbg, but still, nothing gets launched.
Any ideas as to why I can't launch a debugger?