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. C / C++ / MFC
  4. Debugging in CString

Debugging in CString

Scheduled Pinned Locked Moved C / C++ / MFC
debugginghelpquestion
5 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.
  • J Offline
    J Offline
    jung kreidler
    wrote on last edited by
    #1

    Hi all, I've got a strange problem while debugging inside CString code. Everytime I step through my code and the debugger steps into CString stuff, e.g. atlsimpstr.h, it lasts for about 30 seconds to move on to the next line. This is very annoying. :( Anyone out there having the same problems or a solution for this? Regards, jung-kreidler

    N 1 Reply Last reply
    0
    • J jung kreidler

      Hi all, I've got a strange problem while debugging inside CString code. Everytime I step through my code and the debugger steps into CString stuff, e.g. atlsimpstr.h, it lasts for about 30 seconds to move on to the next line. This is very annoying. :( Anyone out there having the same problems or a solution for this? Regards, jung-kreidler

      N Offline
      N Offline
      Naveen
      wrote on last edited by
      #2

      jung-kreidler wrote:

      Everytime I step through my code and the debugger steps into CString stuff, e.g. atlsimpstr.h,

      Does this happends automatically or you do purposefully steps into that function?

      jung-kreidler wrote:

      Anyone out there having the same problems or a solution for this

      Try deleting the .ncb file of the project/solution and try again.

      nave [OpenedFileFinder] [My Blog]

      J 1 Reply Last reply
      0
      • N Naveen

        jung-kreidler wrote:

        Everytime I step through my code and the debugger steps into CString stuff, e.g. atlsimpstr.h,

        Does this happends automatically or you do purposefully steps into that function?

        jung-kreidler wrote:

        Anyone out there having the same problems or a solution for this

        Try deleting the .ncb file of the project/solution and try again.

        nave [OpenedFileFinder] [My Blog]

        J Offline
        J Offline
        jung kreidler
        wrote on last edited by
        #3

        Naveen wrote:

        jung-kreidler wrote: Everytime I step through my code and the debugger steps into CString stuff, e.g. atlsimpstr.h, Does this happends automatically or you do purposefully steps into that function? jung-kreidler wrote: Anyone out there having the same problems or a solution for this Try deleting the .ncb file of the project/solution and try again.

        This happens during stepping through the code by pressing F10 and F11. Deleting the ncb is always the first step, yes, but it did not help. Thanks

        N 1 Reply Last reply
        0
        • J jung kreidler

          Naveen wrote:

          jung-kreidler wrote: Everytime I step through my code and the debugger steps into CString stuff, e.g. atlsimpstr.h, Does this happends automatically or you do purposefully steps into that function? jung-kreidler wrote: Anyone out there having the same problems or a solution for this Try deleting the .ncb file of the project/solution and try again.

          This happens during stepping through the code by pressing F10 and F11. Deleting the ncb is always the first step, yes, but it did not help. Thanks

          N Offline
          N Offline
          Naveen
          wrote on last edited by
          #4

          jung-kreidler wrote:

          Deleting the ncb is always the first step, yes, but it did not help.

          :(

          jung-kreidler wrote:

          This happens during stepping through the code by pressing F10 and F11.

          What I was about to say is that, if you dont want to debug inside the CString functions, you specify your debugger not to step in through that functions. Check http://www.cprogramming.com/debugging/visual-studio-msvc-debugging-NoStepInto.html[^] for details.

          nave [OpenedFileFinder] [My Blog]

          J 1 Reply Last reply
          0
          • N Naveen

            jung-kreidler wrote:

            Deleting the ncb is always the first step, yes, but it did not help.

            :(

            jung-kreidler wrote:

            This happens during stepping through the code by pressing F10 and F11.

            What I was about to say is that, if you dont want to debug inside the CString functions, you specify your debugger not to step in through that functions. Check http://www.cprogramming.com/debugging/visual-studio-msvc-debugging-NoStepInto.html[^] for details.

            nave [OpenedFileFinder] [My Blog]

            J Offline
            J Offline
            jung kreidler
            wrote on last edited by
            #5

            :laugh: That did the trick! I've had to google a bit, but now it steps over it. Here's what I've done with VS2008: Open: HKLM\Software\Microsoft\VisualStudio\9.0\NativeDE\StepOver Create String (obviously a don't care): Cstring functions Value: ATL\:\:.*=NoStepInfo Thanks for your help!

            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