• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# RUN: mkdir -p %t
2# RUN: cd %t
3# RUN: %build %p/Inputs/dummy-target.c -o dummy.out
4# RUN: %lldb -b -s %s dummy.out | FileCheck %s
5
6breakpoint set -D -n main
7# CHECK: Breakpoint {{[0-9]}}: no locations (pending).
8# CHECK: Breakpoint set in dummy target
9
10breakpoint list
11# CHECK: No breakpoints currently set
12
13breakpoint list -D
14# CHECK: name = 'main', locations = 0 (pending)
15
16target delete
17# CHECK: 1 targets deleted
18
19target create dummy.out
20# CHECK: Current executable set to {{.*}}dummy.out
21
22breakpoint list
23# CHECK: name = 'main', locations = {{[1-9]}}
24