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

    <tr>
        <th>Summary</th>
        <td>
            lldb-dap.exe crashes in vscode debugging swift code
        </td>
    </tr>

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

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

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

<pre>
    Hi,

When I use lldb-dap in VSCode, I had a crash like this, I attached the log:

```
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0.      Program arguments: C:\\Users\\Cc\\AppData\\Local\\Programs\\Swift\\Toolchains\\6.0.2+Asserts\\usr\\bin\\lldb-dap.exe
1.      Program arguments: C:\\Users\\Cc\\AppData\\Local\\Programs\\Swift\\Toolchains\\6.0.2+Asserts\\usr\\bin\\lldb-dap.exe
Exception Code: 0xC0000005
 #0 0x0000000000000000 
 #1 0x00007ffe74e63a3a PyInit__lldb (C:\Users\Cc\AppData\Local\Programs\Swift\Toolchains\6.0.2+Asserts\usr\bin\liblldb.dll+0x523a3a)
 #2 0x00007ffe74e5a528 PyInit__lldb (C:\Users\Cc\AppData\Local\Programs\Swift\Toolchains\6.0.2+Asserts\usr\bin\liblldb.dll+0x51a528)
 #3 0x00007ffe74becd9b lldb::SBValue::GetSP(void) const (C:\Users\Cc\AppData\Local\Programs\Swift\Toolchains\6.0.2+Asserts\usr\bin\liblldb.dll+0x2acd9b)
 #4 0x00007ffe74beca6f lldb::SBValue::GetSP(class ValueLocker &) const (C:\Users\Cc\AppData\Local\Programs\Swift\Toolchains\6.0.2+Asserts\usr\bin\liblldb.dll+0x2aca6f)
 #5 0x00007ffe74beb4c2 lldb::SBValue::GetName(void) (C:\Users\Cc\AppData\Local\Programs\Swift\Toolchains\6.0.2+Asserts\usr\bin\liblldb.dll+0x2ab4c2)
 #6 0x00007ff7ec9b7e4a (C:\Users\Cc\AppData\Local\Programs\Swift\Toolchains\6.0.2+Asserts\usr\bin\lldb-dap.exe+0x27e4a)
 #7 0x00007ff7ec9a843f (C:\Users\Cc\AppData\Local\Programs\Swift\Toolchains\6.0.2+Asserts\usr\bin\lldb-dap.exe+0x1843f)
 #8 0x00007ff7ec9c3a27 (C:\Users\Cc\AppData\Local\Programs\Swift\Toolchains\6.0.2+Asserts\usr\bin\lldb-dap.exe+0x33a27)
 #9 0x00007ff7ec9c3f58 (C:\Users\Cc\AppData\Local\Programs\Swift\Toolchains\6.0.2+Asserts\usr\bin\lldb-dap.exe+0x33f58)
#10 0x00007ff7ec9a94a2 (C:\Users\Cc\AppData\Local\Programs\Swift\Toolchains\6.0.2+Asserts\usr\bin\lldb-dap.exe+0x194a2)
#11 0x00007ff7ec9f61b0 (C:\Users\Cc\AppData\Local\Programs\Swift\Toolchains\6.0.2+Asserts\usr\bin\lldb-dap.exe+0x661b0)
#12 0x00007fff4414257d (C:\WINDOWS\System32\KERNEL32.DLL+0x1257d)
#13 0x00007fff45a6af08 (C:\WINDOWS\SYSTEM32\ntdll.dll+0x5af08)
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzUllGPozYQgH-N82IdMjYm4YGHbDZpV02vq-Z6qz6dBnsAdx2IsNnL_vvKkDQhrVqpD80VRcEwMPN9mQgGnDNVg5gT-UDk4wx6X7ddXqI1xzI59rOi1e_594bwFWGPhC3H75caG_pEe4fUWl180HCgpqGfd6tWI-Er-kRr0BSo6sDV1JpXpL42bgyB96Bq1NTXSG1bEbG8Tk5SdvoMh8_b9XK3pq4v9sZToEVf0Q4Pbeepb2nt_cGFBHxD-KYyvu6LSLV7wjfWvp13Hw5d-xsqT_jGONejI3xDodHUNMr2GgeSkbUA9eo7UBiN5Xce1CvV_f7wByaLCMueu7bqYE-hq_o9Nj5A0FW4Rq6IXP3isHPjcqXG_fJweAQP48G2VWDH5SnT6erdV1P6c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