CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 1999
    Posts
    2

    Steping into only my code

    Does anyone know if there is an option in the Visual C++ IDE to _not_ step into the MFC source code? For example when I want to step into the following line:

    m_strId = GetTag(strName, "INFO_TEXT");

    I first step into the CString code for each of the parameters before it steps into my GetTag() function. There must be (or there should be) an easy way to stop this from happening. I trust Microsoft to have the MFC code fully debugged anyway

    Thanks,
    Norm


  2. #2
    Join Date
    Apr 1999
    Posts
    27,449

    Re: Steping into only my code

    You have the *opposite* problem that most people have. It's trying to get the darn debug code to load in the debugger! :-()

    I've never tried it, but in the Project Settings in the "Debug" tab, there is a drop-down combo called "Additional Settings". If you listed the MFC dll there and did not place a check mark, this may turn off loading the symbols for the debug MFC library (MFC42D.DLL, I believe).

    Regards,

    Paul McKenzie


  3. #3
    Join Date
    Apr 1999
    Posts
    2

    Re: Steping into only my code

    Thanks for the idea, but in my case I'm linking the MFC library statically, so I don't have any DLLs listed where you said. Also, I think I heard someone say once there is a "secret" file that has the names of classes that the debugger will not enter, but I can't remember where it is or how to do it, and I thought maybe there was a general setting to prevent all MFC classes from being debugged.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured