<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/85533>85533</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Unable to see sprint statements or get input while using LLDB
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
ResourceHog
</td>
</tr>
</table>
<pre>
OS: Windows 11
swift: 5.10
lldb version 16.0.0git
```
print("hello world")
let name = readLine()
if(name){
print(name)
}
else {
print("no name")
}
```
result :
![image](https://github.com/llvm/llvm-project/assets/3767092/2b87fce8-4064-47cb-8871-079543bd00f2)
//<input name: Resourcehog>
expected: (assuming input was Resourcehog)
hello world
Resourcehog
compiling this to an executable and running the program will run as intended.
Running the same executable under lldb will result in no output and no prompt to enter any name.
This indicates a problem specific to lldb rather than swift.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUU0-PuzYQ_TTmMgqyzd8cOGyaRj2sVGnbqmcDE3BlbOQxm91vX9kkarbbHn4SMjAzb97z_FFEerKIHatOrDpnaguz890bktv8gL-4Kevd-Nn9-hsrXuBPbUd3IxCC8TPjL3TT1xAdVS74bjJm7OEdPWlnQdQ5z_mkw-77j7Pm9yf9rl7bwGTLpJzRGAc3583IpGTyeE-PAaxaEFhxBo9qfNUWE-IeoK9MtjEiWprT17wP-87dnPcPNIQA34KZlNbBDpHfUf-Svp8eaTMBYknuZilYddKLmpBVZybbOYSVWPHC5IXJy6TDvPX54BYmL8a8P16H1bu_cAhMXhQRBmLyUjR1w4-SyYvs2-Y6YHsoeV0eymboD23biANvjlVZ9CPn1yfBiYgVP2m7bnvxorxHh2c3seLneyE-VhwCjkm-bBXRtmg7wY68KfqCehA8dyoZnoP-r-_pHNyyahMZwqwJggNlAT9w2ILqDYKyI_jN2j0CYfVu8mqBmzYmOkARaBvQjjjmz4nfnkAUp-Up6WZH9JDGdM-zt0xbsA7cFuJVI7F1kW9ZQ9SFNqAHZT9T_b5w_R6lazvqQQUkUBHVG1yAVhz0VQ8Rn-i8CjN6CLOykDYnz8auGI_FUWXYiUbwmvNGFNncDaqqBlU2fS9Rjo2oey6LGqu6vTZSNCLTneSy5IWoRVmJqshFj4VQTc17UV4r2bKS46K0yeM45c5PmSbasGurqigyo3o0lJZeSos3SM4459U5810awX6biJXcaAr0T5agg8HuD5tqGRwQIlBaGaCgAi5oA4HzMGF4DM6sY90pduT19XzKNm-6H96DpDDuQbrB3wEAAP__ccRyVQ">