Attaching the VC++ compiler/debugger to a process
Posted on 1997-10-16
I've been trying to get my VC++ 5.0 debugger to attach to processes for months now. I've reinstalled NT, formatted and reinstalled VC++ 5.0, and messed with configuration until the sun went down. I've seen it done, I know it can be done. I load up task manager and right click on a task and try to attach the debugger, and I get an error - file not found. Unfortunately, some creep at Microsoft decided that WHICH file wasn't found was unimportant. So, my question is, how do you attach the debugger to a .dll, service or other file that you've created with debug information? I've tried using msdev -p PID, and it got into the disassembly, but I haven't gotten past that. Any ideas?