title: How to disable F10/F11 unless I'm debugging in Visual Studio?
body: <p>So I have this weird problem where I press keys subconsciously sometimes. <kbd>F10</kbd> (step over) and <kbd>F11</kbd> (step into) are two that I keep pressing... or if I meant to hit <kbd>F12</kbd>, sometimes I hit <kbd>F11</kbd> accidently... </p>
  
  <p>Anyway, this is a major annoyance since it starts a build, which takes a while, I immediately start spamming <kbd>CTRL</kbd> + <kbd>BREAK</kbd> to break the build, but it only rarely works; it seems that it just freezes or maybe there is only a short window of time where it does work? Then if the build succeeds, my configuration is set up to do a deploy as well, and often, VS just locks and I have to end the process with Task Manager and restart VS.</p>
  
  <p>So just wondering if there is any possibility to only allow <kbd>F10</kbd>, <kbd>F11</kbd> to work when pressed if I am debugging, where I actually need it (I use attach to process so <kbd>F5</kbd>/<kbd>F10</kbd>/<kbd>F11</kbd> are useless shortcuts when <em>not</em> debugging)?</p>
  
  <p>Thanks.</p>