CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 7 of 7
  1. #1
    Join Date
    Aug 2011
    Posts
    14

    Debugger hangs in Visual Studio 2008 Professional

    Hi,

    I have a weird problem: when debugging the code in Visual Studio 2008 C++ Professional, the debugger hangs when I stop at a breakpoint and do nothing for a few minues. It only happens in one particular project. What could be the reason?

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,396

    Re: Debugger hangs in Visual Studio 2008 Professional

    And what happens after these "few minues"?
    Victor Nijegorodov

  3. #3
    Join Date
    Aug 2011
    Posts
    14

    Re: Debugger hangs in Visual Studio 2008 Professional

    The IDE simply hangs up - stops reacting to key presses or mouse clicks.

    Another thing which also happens sometimes (before the hangup) is that "Locals" window of the debugger does not display any values or variable names (it should - the PDB files are there).

  4. #4
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,396

    Re: Debugger hangs in Visual Studio 2008 Professional

    Where is the break point? Could it be that your App goes in modal state (calling AfxMessageBox, CDialog:omodal and so on)?
    Victor Nijegorodov

  5. #5
    Join Date
    Aug 2011
    Posts
    14

    Re: Debugger hangs in Visual Studio 2008 Professional

    This is a DLL which is used by an Excel XLL addin. The breakpoints are usually in the middle of some computations. No dialogs are called, in fact it's not linking to any Windows libraries (except the Excel ones).

  6. #6
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,396

    Re: Debugger hangs in Visual Studio 2008 Professional

    So, if it is not the case when the debugger waits for some user input then i don't know. Sorry!
    Victor Nijegorodov

  7. #7
    Join Date
    Aug 2011
    Posts
    14

    Re: Debugger hangs in Visual Studio 2008 Professional

    Thanks for trying I didn't expect any definite answer, just some pointers in a probable direction.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured