FIX: Can Not Attach Process to Debugger from NT Task Manager (167798)
The information in this article applies to:
- Microsoft Visual C++, 32-bit Enterprise Edition 5.0
- Microsoft Visual C++, 32-bit Professional Edition 5.0
This article was previously published under Q167798 SYMPTOMS
After installing Visual C++ version 5.0, you may not be able to attach an
active process from Windows NT Task Manager. A message box titled "Unable
to Attach Debugger" with the following error message appears:
The operation could not be completed. The system cannot find the file
specified.
CAUSE
This happens because the registry entry in HKEY_LOCAL_MACHINE\SOFTWARE\
Microsoft\Windows NT\CurrentVersion\AeDebug has a space in the path to
MSDEV.EXE. By default, the installed path to MSDEV.EXE is C:\Program
Files\DevStudio\SharedIDE\BIN\.
RESOLUTION
The resolution is to change the entry in the AeDebug registry key to:
"<install drive>\Program Files\DevStudio\SharedIDE\BIN\msdev.exe" -p %id - e %id
The quotation marks around the executable path and name are necessary in order to
correct this problem.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article. This problem was corrected in Visual C++ version 6.0 for Windows.
Modification Type: | Major | Last Reviewed: | 10/17/2003 |
---|
Keywords: | kbBug kbDebug kbfix kbide kbVC600fix KB167798 |
---|
|