0

Using Visual Studio, Keys like [F5], [CRTL+F5], [F10], [F11] will generate and execute your code. So any fat finger [F12], or any "reflexe" [F11] to enter the function definition, will excecute the code. Or a F5 in the Release mode instead of Debug.

Is there any Pannic Stop button to prevent your code for executing or to stop the generation process?

Or a way to prevent unexpected execution by having a prompt or something?

  • I just removed the AC on my Cisco switch twice in a row, to prevent execution. – Drag and Drop Sep 17 '18 at 14:22
  • 1
    How about not building world-ending programs? Pressing F11 just enters step-by-step execution, so it’s entirely harmless...? – Daniel B Sep 17 '18 at 14:26
  • @DanielB, Yes harmless, I guess the heart attack and the switch unplug were unnecessary. Still a F5 on release mode instead of debug mode could be frightening. So maybe the question still stand for this one. – Drag and Drop Sep 17 '18 at 14:32

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.