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

    <tr>
        <th>Summary</th>
        <td>
            LLDB-DAP in VSC doesn't respect `"disableASLR": false` unless you also do `settings set target.disable-aslr false`
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

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

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

<pre>
    When you try to debug in Docker using LLDB-DAP, by default it fails because it's unable to disable the ASLR.

Adding `"disableASLR": false,` to `launch.json` is supposed to fix it, but currently you need **both** that and `"initCommands": ["settings set target.disable-aslr false"],` for it to work.

Ideally the former should be enough (or if either one worked, that would be perfect). I could swear that the former was enough at some point (maybe when I was using v0.2.0 VSC extension I compiled myself, while now I'm using v0.2.1 from the marketplace).

I'm using `lldb-dap-18` v18.1.3 from apt.llvm.org on Ubuntu 22.04.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyMk8GO4zYMhp9GvhAxZNmJk4MPmQRBB5hD0UXbs2TRsXZkyRClyfrtC9mZdvbUvSSCTP78-IuURObuEDu2f2H7ayFTHH3ofvN2ebGyf7_IWCivl-7vER0sPkEMC0QPGlW6g3Fw9f07Bkhk3B3e3q4vu-v5dyYuoBbQOMhkI5gIgzSWQGEvEyGYyERLkJxUFlc5Q9txRDh_e_ujZPzK-Hn7PWudxdmBMyGekTmICcHqMwzSEjJxYQeepdiBW5lcP5bfybt8aQgozbMn1DlgMD9WgAuoFKFPIaCLdlm7c4gamDgzcVY-jtsJ4igjSKefCMaZePHTJJ2mJ0O2TwjCGI27ExBGiDLcMZZP3p0kGz5RBdtfn8CDD9me6OHhw_tPbb9qlNYuqyeDDxMGoNEnq0EhoPPpPgITxywwAJo4YgDvcBVCnftbuR-fKTOGAfvIxKmEV-jXa3qgDFvclzIPSZ8FZATyE8LsjYu53CQXhfDI4_C6Bm4v_8FLUXL469sF8EdER8a7tco0G4sapoXQDhnqMRqL4PwDXplop6_5FQzBTyvJJMM7xtnKHjPwT758ScuPbbXaaTnvqmM29KM6llVZb0pyjqW1H1Ppwx28gz9VcjGBECVvykJ3tT7VJ1lgV7VVu-dVfWiLseMt7geUrVJK4lHV2OimldW-aXXTHJUoTCe4aPiBN1XViKYu67blR1nxduhP7aGpWMNxksb-W7wwRAm7U1PXx8JKhZa6bWYcPmD9uI1FEbqcs1PpTqzh1lCk_1SiiRa7zy3L65cN1x7JMdFGCEgz9vF_VuXAITmLROvIS0se9Lo3vzi_B16kYLsxxplYfWbixsTtbuKYVNn7iYlbBn7-7ebgv69jd1vbJCZumw0fnfgnAAD__zS5cso">