Link to home
Start Free TrialLog in
Avatar of lidorc
lidorc

asked on

can't step into MFC source

Hi,
step into the MFC source file doesn't work. but when I compile with MFC as static library - it works.
I already tried many pdb tests and more, so it's not 300 points for nothing..
by the way, I need it fast.. or I reinstall the computer. (I tried reinstall the VC..)

thanks,

  lidorc
Avatar of jhance
jhance

The MFC source is an optional install in VC++.  Go back to your VC++ installation CD, re-run the installer and choose to install the MFC SOURCE CODE.

After that, you'll be able to debug it.
Avatar of lidorc

ASKER

jhance,
already installed it.. (it works as static library..)
MFC SOURCE!!!!  Not the MFC libraries.
Avatar of lidorc

ASKER

first, the MFC source code is installed (i just checked),
second, it does step into when i compile with MFC as static library, but as dll it doesn't (i have the correct mfcs42d.pdb in the right directory but sometimes the VC says it's the wrong file, and ask me to look for the right one)
Avatar of jkr
Check http://support.microsoft.com/default.aspx?scid=kb;EN-US;q318367 ("BUG: Cannot Step into ATL, CRT, or MFC Source Code During Debugging (Q318367)") - this is for VS7, but the symptoms are the same. Also check whether you have the correct settings under "Tools|Options|Directories"
I had that problem on one computer.  After I applied the latest VC++ Service Pack, the problem went away.

-- Dan
Please update and finalize this old, open question. Please:

1) Award points ... if you need Moderator assistance to split points, comment here with details please or advise us in Community Support with a zero point question and this question link.
2) Ask us to delete it if it has no value to you or others
3) Ask for a refund so that we can move it to our PAQ at zero points if it did not help you but may help others.

EXPERT INPUT WITH CLOSING RECOMMENDATIONS IS APPRECIATED IF ASKER DOES NOT RESPOND.

Thanks,

** Mindphaser - Community Support Moderator **

P.S.  Click your Member Profile, choose View Question History to go through all your open and locked questions to update them.
Avatar of lidorc

ASKER

hi Mindphaser,
sorry for the long time..
i need you to delete it. i formated my computer cause the solutions wheren't good enough..

 thanks
ASKER CERTIFIED SOLUTION
Avatar of Mindphaser
Mindphaser

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
That is the recommended action:  Whenever the solutions provided by the Experts at EE are not good enough, just format your hard disk and/or get a new computer.  That always works for me.

-- Dan
Dan

We should add that statement in our Membership Agreement <LOL>
Avatar of lidorc

ASKER

Dan,
after all, the experts are the last option..
but i had to format it anyway.. another guy here abused it too much and i couldn't see it suffer..

 lidorc