title: C++ simple crash logging
body: <p>I'm writing a plugin (basically a dll) for a 3D application and occasionally there are crashes. Sometimes these are very difficult to find and I wanted to invest some time into making (or integrating an existing) crash logger that will</p>
  
  <ol>
  <li>Give me a stack trace.</li>
  <li>Give me a list of local variables.</li>
  <li>Dump these items to a file, or upload it to a given URL.</li>
  </ol>
  
  <p>So far I've looked at <a href="https://code.google.com/p/google-breakpad/" rel="nofollow">Google breakpad</a>, but have no idea how to integrate it and the documentation seems poor at best. I've tried to use it and managed to get as far as building it on windows, but some unit tests fail and there is no help about what to do at that point. Also, it may be a bit excessive for my needs.</p>
  
  <p>I've found the following site which details how to get a stack trace <a href="http://oroboro.com/stack-trace-on-crash/" rel="nofollow">GENERATE STACK TRACES ON CRASH PORTABLY IN C++</a>. But I'm not sure if this will work on a remote system. I'm guessing this will need to be the debug version and be supplied the pdb file for this to work?
  As for getting local variables, I've not managed to find anything yet. 
  Does anyone know of some resources to help?</p>