I am having trouble debugging my XNA application, using VS 2010 ultimate and XNA GameStudio 4.0.
When I set a breakpoint inside one of the Draw methods and the execution hits the breakpoint, the whole application freezes, goes “not responding” and I can’t switch to back to VS until I kill the process from Task Manager.
Is this innate to the way the Draw method works in XNA or am I doing something wrong?
Thanks for an answer
I am having trouble debugging my XNA application, using VS 2010 ultimate and XNA
Share
You need to run XNA in windowed mode. This can be done with some code like this when you load the game:
(edit: sorry for not reading the comments above)