my debugging in visual studio 2008 has stopped working , the debugger doesn't hit any breakpoint . what should i do?
its final version
mazhar kaunain baig
2010-10-14 11:42:13
@mazhar: It has nothing to do with the version of VS. When you build a project in VS you can choose to build it in Release mode or Debug mode. If you build it in Release mode, depending on the settings, it might not contain debugging information (by default I think especially in VC++), and so the breakpoints won't be hit.
ho1
2010-10-14 11:45:05
@mazhar: Actually, what language are you developing in?
ho1
2010-10-14 11:48:03
i am developing in c#
mazhar kaunain baig
2010-10-14 11:50:45
@mazhar: Depending on how your VS is setup, you might see the Solution Configurations combo on a toolbar in VS, if so, is that set to `Debug` or `Release`? If `Release` change to `Debug`, otherwise if already set to `Debug`, try to restart Visual Studio and delete the *.suo files in the project and see if that makes any difference (maybe do Rebuild All as well).
ho1
2010-10-14 11:59:40
ok checked it all seems well but no debug
mazhar kaunain baig
2010-10-14 12:21:25
@mazhar: Try to start the debugging with F10 (Step Over) rather than F5 or similar and assuming that works to start stepping through the code, set a breakpoint at the very line that you started on when pressing F10 and see if that works. Maybe there's some issue with your app so it never gets to any of the breakpoints?
ho1
2010-10-14 12:59:57