title: Unable to debug TSQL from unit test in SSDT
body: <p>Steps to reproduce</p>
  
  <p>1.Create stored procedure under (localdb)</p>
  
  <p><img src="https://i.stack.imgur.com/yuOY3.png" alt="enter image description here"></p>
  
  <p>2.Define body and place brake point</p>
  
  <p><img src="https://i.stack.imgur.com/xgzNZ.png" alt="enter image description here"></p>
  
  <p>3.Update changes to project (through schema update)</p>
  
  <p><img src="https://i.stack.imgur.com/HlmX0.png" alt="enter image description here"></p>
  
  <p>4.Create unit test (in the project menu)</p>
  
  <p><img src="https://i.stack.imgur.com/jTCBy.png" alt="enter image description here"></p>
  
  <p>5.Define unit test body</p>
  
  <p><img src="https://i.stack.imgur.com/G3wp8.png" alt="enter image description here"></p>
  
  <p>6.Debug unit test</p>
  
  <p><img src="https://i.stack.imgur.com/S0Wfr.png" alt="enter image description here"></p>
  
  <p>As a result - nothing happens... breakpoint (from step 2) is not firing at all.</p>
  
  <p>Output window produce next output:</p>
  
  <pre><code>*Done building target "SqlDeploy" in project "test3.sqlproj".
  Done building project "test3.sqlproj".
  Build succeeded.
  C:\Users\amorozov\Documents\Visual Studio 2012\Projects\Trash\test3\test3\bin\Debug\test3.sql : Deploy warning SQL72030: The project and target databases have different collation settings. Deployment errors might occur.
      1 Warning(s)
      0 Error(s)
  Time Elapsed 00:00:07.73
  Executing test script...
  1 batches, 2 ResultSets, 2 rows affected
  Validating scalarValueCondition1
  The thread '.NET SystemEvents' (0x1938) has exited with code 0 (0x0).
  System.Transactions Critical: 0 : &lt;TraceRecord xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord" Severity="Critical"&gt;&lt;TraceIdentifier&gt;http://msdn.microsoft.com/TraceCodes/System/ActivityTracing/2004/07/Reliability/Exception/Unhandled&lt;/TraceIdentifier&gt;&lt;Description&gt;Unhandled exception&lt;/Description&gt;&lt;AppDomain&gt;vstest.executionengine.x86.exe&lt;/AppDomain&gt;&lt;Exception&gt;&lt;ExceptionType&gt;System.AppDomainUnloadedException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089&lt;/ExceptionType&gt;&lt;Message&gt;Attempted to access an unloaded AppDomain.&lt;/Message&gt;&lt;StackTrace&gt;
  &lt;/StackTrace&gt;&lt;ExceptionString&gt;System.AppDomainUnloadedException: Attempted to access an unloaded AppDomain.&lt;/ExceptionString&gt;&lt;/Exception&gt;&lt;/TraceRecord&gt;
  The thread 'In-proc Node (Default)' (0xcc8) has exited with code 0 (0x0).
  The thread '&lt;No Name&gt;' (0x1b54) has exited with code 0 (0x0).
  The program '[6040] vstest.executionengine.x86.exe: Managed (v4.0.30319)' has exited with code 0 (0x0).*
  </code></pre>
  
  <p>The only strange thing I see in output - <code>&lt;ExceptionString&gt;System.AppDomainUnloadedException: Attempted to access an unloaded AppDomain.&lt;/ExceptionString&gt;</code></p>
  
  <p>I am able to reproduce this behavior both at work and at home.
  Both systems a the same:</p>
  
  <ul>
  <li>VS2012 Premium (update 3)</li>
  <li>Windows 8 64 bit/Windows Server 2012 64bit</li>
  </ul>
  
  <p><img src="https://i.stack.imgur.com/z6294.png" alt="enter image description here"></p>
  
  <p><strong>Someone has this feature working?</strong></p>
  
  <p><strong>What I'm doing wrong?</strong></p>