Debugging in CString
-
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
-
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
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.
-
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.
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
-
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
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.
-
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.
: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!