• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# REQUIRES: python
2# Ensure that replay happens in synchronous mode.
3
4# RUN: rm -rf %t.repro
5# RUN: %lldb -x -b --capture --capture-path %t.repro -o 'script lldb.debugger.SetAsync(True)' -o 'script lldb.debugger.GetAsync()' -o 'reproducer generate' | FileCheck %s --check-prefix CAPTURE
6# RUN: %lldb --replay %t.repro | FileCheck %s --check-prefix REPLAY
7
8# CAPTURE: script lldb.debugger.SetAsync(True)
9# CAPTURE-NEXT: script lldb.debugger.GetAsync()
10# CAPTURE-NEXT: True
11
12# REPLAY: script lldb.debugger.SetAsync(True)
13# REPLAY-NEXT: script lldb.debugger.GetAsync()
14# REPLAY-NEXT: False
15