title: How to know the exact line of code where an exception has been caused?
body: <p>If I generate an exception on my own, I can include any info into the exception: a number of code line and name of source file. Something like this:</p>
  
  <pre><code>throw std::exception("myFile.cpp:255");
  </code></pre>
  
  <p>But what's with unhandled exceptions or with exceptions that were not generated by me?</p>