1// Purpose:
2// Ensure that limited stepping breaks for all expected values.
3//
4// RUN: %dexter_regression_test_build %s -o %t
5// RUN: %dexter_regression_test_run --binary %t -- %s | FileCheck %s
6// CHECK: limit_steps_expect_value.cpp
7
8int main() {
9 int i = 0;
10 i = 1; // DexLabel('from')
11 i = 2;
12 i = 3;
13 return 0; // DexLabel('long_range')
14}
15
16// DexLimitSteps('i', '0', from_line=ref('from'), to_line=ref('long_range'))
17// DexExpectWatchValue('i', 0, 1, 2, 3, from_line=ref('from'), to_line=ref('long_range'))
18

source code of cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/limit_steps/limit_steps_expect_value.cpp