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

    <tr>
        <th>Summary</th>
        <td>
            debugger fails on Apple M1
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
      </td>
    </tr>

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

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

<pre>
    Environment:
Qt Creator IDE, Mac M1 computer, Monterey OS, gobs of RAM, 64bit app (very large app with many dependencies, multimedia, boost etc)

when i hit a breakpoint, my app just hangs, debugger never activates. if i then hit the "pause" button in the debugger, i see message "inetrrupt requested…". Must pick "abort debugging" from debug menu, sometimes twice for it to take effect.

put another way:
symptom 1: the log file will stop showing output, even though the app keeps going
symptom 2: pressing pause button in debugger shows "interrupt requested" but the app is now hung and the debugger is hung
symptom 3: if you set a breakpoint instead, when you hit it, app hangs and debugger hangs
symptom 4: if you quit the app, debugger stays in stuck state, must pick "Abort Debuggnig" not once but twice for the app to be killed and the debugger to reset

happens intermittently. i can go for a few runs with no problems, then i have the problem every run, feels random.
rebooting computer doesn't help
using "separate debug info" or not does not affect problem

[debugger log left.txt](https://github.com/llvm/llvm-project/files/8709865/debugger.log.left.txt)
[debugger log right.txt](https://github.com/llvm/llvm-project/files/8709866/debugger.log.right.txt)
m
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJytVM3SmzgQfBp8mQqF8f-Bgzffl6ocXFtJnkDAAIpBItLIXt4-M7JN7G9PW7Uul42Q1NPq7lFp66l4NxftrBnQULI6Jtlbkh2_EXx2qMg6-Pr2nuSf4aQqOC2hssMYCF18ZQ0_4QR__5Bha0sPtoHvx5MMt-tSE6hxhCTfX9BN0CvXYnxz1dTBoMwENY5oajSVRi-7htCTHrDWSkaltZ4AqUryw43Y7ffaoQENnRSAkomeR6uZvgBMscLPwBs7ZdqIWmMZ2hYdGGQ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