Visual Studio Developer Center > Visual Studio Forums > Visual Studio Debugger > Visual Studio 2008 Freezes Windows When Debugging
Ask a questionAsk a question
 

General DiscussionVisual Studio 2008 Freezes Windows When Debugging

  • Thursday, October 29, 2009 7:56 PMjeppesba Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I have a large solution of about 60 projects, 5 or so of which are applications. Of the 5, one in particular causes the issue. When i attempt to step over lines of code while debugging, Windows becomes unresponsive for about 5 seconds. When that time elapses, the line of code is stepped over and this continues until i break out. This does not happen for the other applications in my solution, unless the previously mentioned application is also running from the same solution. I've spent days looking into this but to no avail. Thanks.

All Replies

  • Friday, October 30, 2009 2:42 AMRoahn LuoMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hello,

    Would you please tell us which version of Visual Studio do we use? Do we install SP1 of Visual Studio 2008? Do we apply the latest hotfix? If we create a new project with Visual Studio, are the windows still unresponsive? If you will, we would be very appreciated to receive from you the detailed steps to reproduce the issue.

    Thanks a lot.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback, please tell us.
    Welcome to the All-In-One Code Framework!
  • Saturday, October 31, 2009 4:08 PMGorm Vognsen Jensen Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    A wild guess could be that you have a "automatic property" which does more than just return a value. The debugger actually execute code to obtain the value. If this is to another thread, which is halted by the debugger as well. The debugger does not respond before the execution times out after 3 seconds. If the property is added to a Watch-window, the debugger will behave unresponsive every time.
    If a timeout occurs the property will be displayed with a text string - I have forgot the wording now.

    Maybe I just see the my own issue everywhere:
    http://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/ce3d5e6f-caaa-406f-8147-13f4db3b01dd

    Just a guess, but I hope it will help you.
  • Wednesday, November 04, 2009 1:45 AMRoahn LuoMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hello jeppesba,

    A few days have passed, how about the issue now? Could we debug normally? are there any error messages for the issue or maybe there is a call stack for it?

    Best regards,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback, please tell us.
    Welcome to the All-In-One Code Framework!