Search
Monday, November 12, 2018 ..:: Home ::.. Register  Login
   Calendar  
     
  
   Search  
     
  
   Blogroll  
     
  
   Disclosure  
All blog entries are the opinions of the author and do not necessarily reflect the opinions of their employer. All the code presented is for explanation and demonstration purposes only. Any damages incurred to your site and/or data are not the responsibility of the author. Every effort is taken to ensure the code properly compiles, however sometimes there are some hiccups and you might be required to do your own debugging.
     
  
   TechTidBits (Blog)  

How do you stop your program RIGHT F@#$%^G NOW?!

Feb 5

Written by:
Wednesday, February 05, 2014 11:46 PM  RssIcon

image You’re debugging your app in VS, but you forgot to set a few breakpoints, now your code is gone off to never-never land!  How do you stop it RIGHT FREAK’N NOW?!!?!  I can help you with that!

So, you’ve gotten your 1st coffee, fired up VS, auto loaded your solution you’ve been slaving away for a week on, without thinking you press F5!  You forgot to set a few break points (F9)!  DOH!  Now your code has gone off to never-never land chugging away with all kinds of bits’n’bits but you can’t tell what is going on cause you can’t BREAK into the code to view any variables (SHIFT+F9).  What do you do?

Try this, CTRL+ALT+BREAK

Simple, VS will immediately STOP DEAD IN ITS TRACKS at the line of code it’s currently chugging away at.  In other words, it’s the …….STOP RIGHT F!@#$%^G NOW!!!!!!!!! command!  Very handy for those mornings (or nights) you forget to set a few breakpoints and now your codes gone awry!

Now that you know how to stop your code now, it’s time to grab a coffee and get coding!

Tags:
Categories:
Location: Blogs Parent Separator TechTidBits

Your name:
Gravatar Preview
Your email:
(Optional) Email used only to show Gravatar.
Your website:
Title:
Comment:
Add Comment   Cancel 
     
  
Copyright 1999-2012 by PCHenry.com   Terms Of Use  Privacy Statement