• 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?
0
jrucker
Asked:
jrucker
  • 2
1 Solution
 
chensuCommented:
Check whether the following files are in your Windows System directory.

mfc42d.dll
mfc42d.pdb
....
0
 
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
0
 
chensuCommented:
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.
0
 
mikeblasCommented:
> 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
0

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