更新时间:2023-12-03 23:01:46
好的,我终于找到了什么导致了这个问题如果有人遇到这种情况(从稀缺的答案我猜这不常见,但嘿...)。
Ok, I finally found out what caused this problem. I'll post it here in case anyone else encounters this (from the scarcity of answers I guess it ain't that common, but hey...).
问题是,用于启动可执行文件的路径包含一个由单个点组成的路径元素,如下所示:
The problem was that the path used to launch the executable contained a path element consisting of a single dot, like this:
c:\dir1\.\dir2\program.exe
这显然使VS2005在
which apparently made VS2005 go look for an executable at
c:\dir1\dir1\dir2\program.exe
当然不存在...谢谢马克过程监视器!删除。根据预期再次附加到流程工作。
that of course does not exist... Thank you Mark for Process Monitor! Removing the . made attaching to the process work as expected again.