title: Debugging in SQL Management Studio 2012
body: <p>I'm using Management Studio 2012 but I'm not able to debug any SQL code. After I hit the Debug button I'm not getting any green arrow on the left side and none of my SQL object are being loaded to the memory. </p>
  
  <p>I'm getting this message when I move my cursor over the breakpoint I set: <code>The breakpoint will not currently be hit. Unable to bind SQL breakpoint at this time. Object containing the breakpoint not loaded.</code></p>
  
  <p>I followed a youtube video demonstrating how to debug in Studio 2012: <a href="http://www.youtube.com/watch?v=_jsFM_PUPgA&amp;feature=relmfu" rel="nofollow">http://www.youtube.com/watch?v=_jsFM_PUPgA&amp;feature=relmfu</a>
  The guy in the video around 4:30 writes a small SQL query, puts a breakpoint in the SELECT and clicks on <code>Debug</code>. Then he will get a small green arrow on the top left corner of the editor and also his breakpoint is being hit. Mine isn't. </p>
  
  <p>This is what I would like to debug:</p>
  
  <pre><code>declare @count int = 0
  while @count &lt;&gt; 10
  begin
     select @count
     set @count = @count + 1
  end
  </code></pre>
  
  <p>It's pretty simple and the debugging should work. Of course, I would like to debug more complex stored procedures later on..</p>
  
  <p>Any suggestions?</p>