?
Solved

How do I step into MFC Source Code?

Posted on 2003-02-20
5
Medium Priority
?
574 Views
Last Modified: 2013-11-20
hi,
my MFC application does not let me step into MFC Source Code and I really need to.
I'm using MFC in a shared DLL, and have _DEBUG in my preprocessor list.
what am I doing wrong?

I have an error when I create a CDialogBar instance.
I get an

Unhandled exception in MyApp.exe (MFC42UD.DLL 0xC0000005: Access Violation

but all I get in the stack is

MFC42UD! Ordinal3337
MFC42UD! Ordinal3191
and so on, back to the call from my code.

Shouldn't I be able to step through the MFC code??

thanks a lot
cel
0
Comment
Question by:cramer091498
[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
  • 3
  • 2
5 Comments
 
LVL 86

Expert Comment

by:jkr
ID: 7987225
You will need to install the debug symbols for the MFC Unicode libraries as well. What you are missing is 'MFC42UD.pdb' and should actually reside in %SystemRoot%\system32. Either start the VisualStudio installer to add tehm or copy them from <CD>:\VC98\MFC\LIB
0
 
LVL 2

Author Comment

by:cramer091498
ID: 7987439
this file is already in my c:\winnt\system32 directory.
0
 
LVL 86

Accepted Solution

by:
jkr earned 800 total points
ID: 7987839
Are you sure it matches your VisualStudio ServicePack?
0
 
LVL 86

Expert Comment

by:jkr
ID: 7988058
Hmm, also check the setting under Tools|Options|Directories to see whether the MFC\SRC dir is listed there...
0
 
LVL 2

Author Comment

by:cramer091498
ID: 8009467
the pdb files were out of date. I've copied the lastest ones from the dev studio cd and that fixed it

thanks a lot
cel
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Suggested Courses

771 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