How can watch the windows form while debugging?

Hi,

I am using Visual Studio 2005.

Is there a setting in the IDE that I can change so I can watch mye form while changes is beeing made while I am debugging.(step by step, F8). Today is the form freezing while I am debugging.



Answer this question

How can watch the windows form while debugging?

  • Theoblob

    Omega has provided a great answer for this problem. If you happen to have two computers, the remote debug is also good to try.

  • ReneeC

    Issues which may answer your question.
    1. Any overlap of Visual Studio on the application will cause paint events to be fired. Hence no overlap is possible. Keep the two seperate on the screen. Minimize both and have no overlap.
    2. Any mouse movement over the application will again cause events to fire which may cause things to be blocked. Again no mousing unless that is being debugged.
    3. Capturing the main thread with a break point will stop the message pump and event's like paint will not fire until control is returned...hence the application will appear to freeze.
    4. Its best to have a separate monitor, so mouse and Visual Studio debugging can occur on the opposite monitor. But if no monitor is possible 1/2 screen application 1/2 screen Visual Studio.
    Hope this helps.


  • How can watch the windows form while debugging?