Solved

can't step into MFC source

Posted on 2002-04-25
12
260 Views
Last Modified: 2013-11-25
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
0
Comment
Question by:lidorc
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
  • 2
  • +2
12 Comments
 
LVL 32

Expert Comment

by:jhance
ID: 6968106
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.
0
 
LVL 1

Author Comment

by:lidorc
ID: 6968109
jhance,
already installed it.. (it works as static library..)
0
 
LVL 32

Expert Comment

by:jhance
ID: 6968111
MFC SOURCE!!!!  Not the MFC libraries.
0
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

 
LVL 1

Author Comment

by:lidorc
ID: 6968120
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)
0
 
LVL 86

Expert Comment

by:jkr
ID: 6968373
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"
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 6969528
I had that problem on one computer.  After I applied the latest VC++ Service Pack, the problem went away.

-- Dan
0
 
LVL 6

Expert Comment

by:Mindphaser
ID: 7036257
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.
0
 
LVL 1

Author Comment

by:lidorc
ID: 7041350
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
0
 
LVL 6

Accepted Solution

by:
Mindphaser earned 0 total points
ID: 7041650
Points refunded and moved to PAQ

** Mindphaser - Community Support Moderator **
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 7042343
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
0
 
LVL 6

Expert Comment

by:Mindphaser
ID: 7042957
Dan

We should add that statement in our Membership Agreement <LOL>
0
 
LVL 1

Author Comment

by:lidorc
ID: 7043894
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
0

Featured Post

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question