<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/138778>138778</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            [lldb-dap] Support breakpoints in the launch and attach helpers
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            lldb-dap
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          JDevlieghere
      </td>
    </tr>
</table>

<pre>
    Extend the `launch` and `attach` helpers in `DAPTestCaseBase` to take breakpoints that we set during the launch/attach sequence. Between the `initialize` and `configurationDone` requests, lldb-dap will handle the following requests:

- `setBreakpoints`
- `setFunctionBreakpoints`
- `setExceptionBreakpoints`

This should eliminate the need to launch and attach with `stopOnEntry=True` in order to set initial breakpoints. 
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJx0Us1u2zwQfBrqQtigqT_7oEMcR4fv8hVoXoAS1-I2NKmSyzjp0xeUlcQFWkCAgOXu7MzsqBhxcgAdq4-sPhUqkfGh--8ErxZhMhCgGLx-757eCJzmZICzRliV3GhYI7hyOhcUkboVDNgZQuTocv308O0ZIj2qCEcVITeQ56RegA8B1Mvs0VHkZBTxK_AIxHUK6KZl07pG9jd4HuFnAjfClh-BrgDugw86JFQWf8Edp9G7M04pKELvTt4tbyFDRIpMPnJr9bDRauZXtJYb5bSFBfHsrfXXzOKzvXxgIn-bjByBjl_sWSPuHvrkxrzwnw1PbyPMf-1g4uHZYOTR-GQ1B4sXdIpunByAzt7dPFk0rq5ckcyCTX7-3z05Cu-sPD2HtAhGx33QEPJstne16t7-LS90V-pDeVAFdLu2aupWtlVTmK6S7U42MAJoKPcNnKU81AKEbKEe2qYusJNC1qIWjSxFXTXb8x7q3SDLcaxgd5CaVQIuCu3W2tfL1oepwBgTdLty37b7wqoBbFziJ-XHQZiUOYyhyzObIU2RVcJipPiFQkh2ie3nUH3i39M8-0B_ZAvdXZbufVuTWqRgO0M0L0eWPZP9hGTSsB39hck-b1x_mzn4HzASk_0iIjLZrzpeO_k7AAD__w_-GbM">