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

    <tr>
        <th>Summary</th>
        <td>
            Synchronous mode, Ctrl-C operation leads to an assertion fails.
        </td>
    </tr>

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

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

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

<pre>
    It seems that LLDB is using an unsupported format.
System info:
```
LSB Version:    security-11.1.0ubuntu4-noarch
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.3 LTS
Release:        22.04
Codename:       jammy
```
It's easy to reproduce this situation. 
First, we need to run an infinite loop and let LLDB attach to the process.
Then, we set LLDB to synchronous mode and  type continue.
Now, by pressing Ctrl-C twice, LLDB will report an error.
```
(lldb) process attach -n deadloop 
Process 1032676 stoppeddexing DWARF: libc.so.6...
* thread #1, name = 'deadloop', stop reason = signal SIGSTOP
    frame #0: 0x0000646a9e9b2131 deadloop`main at deadloop.cpp:2:3
   1    int main() {
-> 2           while(1) {
   3    
   4      }
   5      return 0;
   6    }
Executable module set to "/home/antlia/zzh/Test/X86/deadloop".
Architecture set to: x86_64-unknown-linux-gnu.
(lldb) script lldb.debugger.SetAsync(False)
(lldb) c
^C^Clldb: /home/antlia/zzh/SourceCode/llvm-project/llvm/include/llvm/Support/FormatProviders.h:149: static void llvm::format_provider<unsigned long>::format(const T &, llvm::raw_ostream &, llvm::StringRef) [T = unsigned long, Enable = void]: Assertion `Style.empty() && "Invalid integral format style!"' failed.
LLDB diagnostics will be written to /tmp/diagnostics-c8ceeb
Please include the directory content when filing a bug report
Aborted
```
By the way, why do I need to press Ctrl-C twice?


</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx0VU1v4zgS_TX0pWBBomzJOvjgxNEiQLDbaGd359agqLLFHpoUyGIc59cPSMnO9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