Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Studio
  4. VS2005 SP1 and Debugging Problems!?

VS2005 SP1 and Debugging Problems!?

Scheduled Pinned Locked Moved Visual Studio
c++question
6 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Antony M Kancidrowski
    wrote on last edited by
    #1

    Has anyone had problems stepping into MFC code while debugging? Since I updated VS2005 to SP1 I am unable to step into MFC code. Step into is behaving like step over. Any advice is appreciated. Many thanks for your time.

    Ant. I'm hard, yet soft.
    I'm coloured, yet clear.
    I'm fruity and sweet.
    I'm jelly, what am I? Muse on it further, I shall return!
    - David Walliams (Little Britain)

    R 1 Reply Last reply
    0
    • A Antony M Kancidrowski

      Has anyone had problems stepping into MFC code while debugging? Since I updated VS2005 to SP1 I am unable to step into MFC code. Step into is behaving like step over. Any advice is appreciated. Many thanks for your time.

      Ant. I'm hard, yet soft.
      I'm coloured, yet clear.
      I'm fruity and sweet.
      I'm jelly, what am I? Muse on it further, I shall return!
      - David Walliams (Little Britain)

      R Offline
      R Offline
      Rama Krishna Vavilala
      wrote on last edited by
      #2

      Is it happening with the MFC source or your source? What is the symbol load status?

      A 2 Replies Last reply
      0
      • R Rama Krishna Vavilala

        Is it happening with the MFC source or your source? What is the symbol load status?

        A Offline
        A Offline
        Antony M Kancidrowski
        wrote on last edited by
        #3

        It is happening with the MFC source. It is as if the pdb files are not pointing to the correct location. If I break into the application and step through, my source is fine. It steps over when it comes to the MFC stuffs. On the same note if you break and then try to look at MFC code from somewhere in the stack trace you only get the assembler (I have told the compiler to show assembler when no source available). Please could you tell me how I can find the symbol load status? Many thanks for you time

        Ant. I'm hard, yet soft.
        I'm coloured, yet clear.
        I'm fruity and sweet.
        I'm jelly, what am I? Muse on it further, I shall return!
        - David Walliams (Little Britain)

        1 Reply Last reply
        0
        • R Rama Krishna Vavilala

          Is it happening with the MFC source or your source? What is the symbol load status?

          A Offline
          A Offline
          Antony M Kancidrowski
          wrote on last edited by
          #4

          For all that are interested I found the problem. Previously I have added the following environment variable so that I can get the online symbols from Microsoft _NT_SYMBOL_PATH=SRV*C:\WebSymbols*http://msdl.microsoft.com/download/symbols/ I have removed this for the moment and debugging MFC is working again. :)

          Ant. I'm hard, yet soft.
          I'm coloured, yet clear.
          I'm fruity and sweet.
          I'm jelly, what am I? Muse on it further, I shall return!
          - David Walliams (Little Britain)

          R 1 Reply Last reply
          0
          • A Antony M Kancidrowski

            For all that are interested I found the problem. Previously I have added the following environment variable so that I can get the online symbols from Microsoft _NT_SYMBOL_PATH=SRV*C:\WebSymbols*http://msdl.microsoft.com/download/symbols/ I have removed this for the moment and debugging MFC is working again. :)

            Ant. I'm hard, yet soft.
            I'm coloured, yet clear.
            I'm fruity and sweet.
            I'm jelly, what am I? Muse on it further, I shall return!
            - David Walliams (Little Britain)

            R Offline
            R Offline
            Rama Krishna Vavilala
            wrote on last edited by
            #5

            In VS2005 you can set an option to use symbol server. In Tools->Options under Debugging -> Symbols. That is a better way you can enable and disable it easily. The problem with the symbol server MFC symbols is that source information is stripped.

            A 1 Reply Last reply
            0
            • R Rama Krishna Vavilala

              In VS2005 you can set an option to use symbol server. In Tools->Options under Debugging -> Symbols. That is a better way you can enable and disable it easily. The problem with the symbol server MFC symbols is that source information is stripped.

              A Offline
              A Offline
              Antony M Kancidrowski
              wrote on last edited by
              #6

              Thanks for this info. :) I must admit I did stumble across this while investigating the problem. I will bare this in mind for the future.

              Ant. I'm hard, yet soft.
              I'm coloured, yet clear.
              I'm fruity and sweet.
              I'm jelly, what am I? Muse on it further, I shall return!
              - David Walliams (Little Britain)

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups