title: C Programming: Debugging with pthreads
body: <p>One of the hardest things for me to initially adjust to was my first intense experience programming with pthreads in C. I was used to knowing exactly what the next line of code to be run would be and most of my debugging techniques centered around that expectation.</p>
  
  <p>What are some good techniques to debugging with pthreads in C? You can suggest personal methodologies without any added tools, tools you use, or anything else that helps you debug.</p>
  
  <p>P.S. I do my C programming using gcc in linux, but don't let that necessarily restrain your answer</p>