Is there a way to *completely* disable Edit and Continue?

前端 未结 3 2251
无人及你
无人及你 2021-02-20 18:25

I was wondering if there was a way to completely lock my code while debugging it within Visual Studio 2008. The code documents lock automatically when running as 64 bit applicat

3条回答
  •  你的背包
    2021-02-20 19:15

    Hey there - sorry I can't help you with completely locking your code - I have the opposite desire: to completely UNLOCK it during debug, but I can help you with your second issue.

    I suggest that you consider checking the active window before sending any keys and if the active window is other than your target site, pause the execution of your test until focus is returned that that window.

    I know it's not the solution you want, but it probably wouldn't hurt to prevent other similar issues.

    Best of luck!

    Adam

提交回复
热议问题