Is it possible to Edit and Continue in Visual Studio 2010 without pausing execution?

前端 未结 5 502
梦毁少年i
梦毁少年i 2020-12-03 03:32

I recently watched a bit of Notch\'s Ludum Dare live stream. He uses Eclipse\'s hotswap feature extensively while he works on his game. (here is a video of what I am referri

5条回答
  •  萌比男神i
    2020-12-03 04:07

    This may not be exactly what you're looking for but it's what I've been doing. Just throw in a break point while your game is running. Once it's stopped, you can edit things, remove the break point, and then hit F5 to continue.

    For the most part, this allows you to edit things while the game is running and continue running the game afterwards but it doesn't work for everything. You can't add or remove class level things and also can't add/remove entire functions or the parameters. Mostly, I do this to test out different numbers and equations for smaller things that get hit every update.

提交回复
热议问题