Solved

can't step into MFC source

Posted on 2002-04-25
12
252 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
  • 4
  • 3
  • 2
  • +2
12 Comments
 
LVL 32

Expert Comment

by:jhance
Comment Utility
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
Comment Utility
jhance,
already installed it.. (it works as static library..)
0
 
LVL 32

Expert Comment

by:jhance
Comment Utility
MFC SOURCE!!!!  Not the MFC libraries.
0
 
LVL 1

Author Comment

by:lidorc
Comment Utility
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
Comment Utility
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
Comment Utility
I had that problem on one computer.  After I applied the latest VC++ Service Pack, the problem went away.

-- Dan
0
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
LVL 6

Expert Comment

by:Mindphaser
Comment Utility
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
Comment Utility
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
Comment Utility
Points refunded and moved to PAQ

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

Expert Comment

by:DanRollins
Comment Utility
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
Comment Utility
Dan

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

Author Comment

by:lidorc
Comment Utility
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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…

763 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

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now