• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 190
  • Last Modified:

MFC Source Debugging stopped working...

I recently installed VC++ 6.0 Enterprise, and now I cannot step into MFC calls in the debugger. Used to work fine, I think it's a problem with a .PDB file. Anybody have a suggestion?
  • 2
1 Solution
Check whether the following files are in your Windows System directory.

jruckerAuthor Commented:
mfc42d.dll and mfc42d.pdb are both in my \windows\system directory. I notice the mfc42d.dll has an embedded name of a .pdb file. It was pointing at a strange place, so I patched it to point to the right place. How can I tell if this is the right .dll being used
I think the easiest way to correct the problem is to reinstall Visual C++. You don't have to reinstall everything. You can probably just remove/add some components.
> so I patched it to point to the right place.

That's the wrong thing to do.

You need to check the dates on the files. If the date on your MFC42D.LIB file, your MFC42D.PDB file, and your MFC42D.DLL file are all exactly the same, your symbols won't match.

There's no need to reinstall everything; just get the fixes from your CD individually and copy 'em over.

..B ekiM

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now