title: How to get stack trace for exception occurring in SQL CLR assembly
body: <p>I am trying to use a SQL CLR assembly, but it causes some exception. However, SQL Server Management Studio only says:</p>
  
  <pre><code>Msg 10329, Level 16, State 49, Line 7
  .Net Framework execution was aborted. 
  The statement has been terminated.
  </code></pre>
  
  <p>Is there any way to get the stack trace?</p>