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

    <tr>
        <th>Summary</th>
        <td>
            [LLDB] failed to modify a variable
        </td>
    </tr>

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

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

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

<pre>
    * Operating System: ArchLinux6.13.6
* clang/lldb 19.1.7

When I try to debug this program 
```
int main() {
 int var = 0;
  return 0;
}
```
I set a breakpoint at line 3, then I use p var = 5 to modify the varirable, but then I print var, it still remains 0!

<img src="https://github.com/user-attachments/assets/0a1536e8-ede8-4848-92a2-89014aa93a74" height=300px>
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJx8Us1u3DwMfBr6QtiQKP8efHCy3wIBAnyHHnqWbcZWK_9AktPdty_kbNqihwICJA3JwZAc7b2ZVuYWiicoLok-wry5dthGduLGSb-N9xaow_93djqYdcIvdx94AdVh54b51azHrcykykoQXcwcrF4noKu1Y4-yyWRWxYjovs684gsGd8ew4cj9MWGYjcfdbZPTC8a0UjyO6MwacNFmBaqBGoTqCUSHEX3XDkFdUIA6MXQcDrd-_qG6_EX1gp4Dauwd6-_7Fjl0QGtWRgX0jOFD2uEZ91_sRZS5bKN5u8eEiBune8uxoj_CZ9XuHpoibgL6YKxFx1G7RwEkP_oH9WyWCb0bQF2AaA5h96A6oCvQdTJhPvps2Bag6-HZpToEPcwLr8EDXbX3fD6EloUquU555DrN67xOG9KU1o2QudaN0lUORDizmeYA6qKE2G-g_kvGVo2NanTCraxyWZWyETKZW0UqH6pa1YKagopSjb0YVVXXNPaq6fPEtCSoEEqSKPNCyIzrt6pk5rqQUpUDQy5iuzaz9n3JNjclxvuDW6lEI8rE6p6tPz1GtPIPPKNAFC3n2liU9sfkIRfW-OB_0wQT7GnO19dLNCi-aWN5_GMz-txLXEtyONv-Y6iR9HGlu9u-8RCArqeUONeH1veWfgYAAP___Uju-g">