title: Debugging in VS Code with lldb, how do I set a breakpoint on a symbol I don't have source for?
body: <p>I have some kind of memory management bug that, of course, happens randomly every 3 days or so under 100% load.  This is on OSX, but it's all plain, portable C++11:</p>
  
  <pre><code>code(12404,0x70000aace000) malloc: *** error for object 0x105088e00: pointer being freed was not allocated
                           *** set a breakpoint in malloc_error_break to debug
    Abort trap: 6
  </code></pre>
  
  <p>I'm using Visual Studio Code and the debugger is lldb; what I do not know is -how- to set a breakpoint on malloc_error_break so I can look at the call stack when it happens.</p>
  
  <p>VS Code lets you set breakpoints at source code lines, but I do not have source code for that system library code, just the symbol.  But if I could break there, regardless of not having source for that function, I could inspect the call stack.</p>
  
  <p>So, how to set a breakpoint in lldb under Visual Studio Code on OSX High Sierra at an arbitrary symbol without source code?</p>
  
  <p>Thanks!</p>