diff options
| author | Orlando Cazalet-Hyams <orlando.hyams@sony.com> | 2025-09-04 10:17:57 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-04 10:17:57 +0100 |
| commit | 3ec7b895be67f0d74613d35aa5aa1580a436aa05 (patch) | |
| tree | 6af84a092b0a89d898e25596ec179cceb2164231 /cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/control/dex_step_function.cpp | |
| parent | 88effbff10449b79226743933bd3eae00228f626 (diff) | |
[Dexter] Only increment step index if we record the step (#156832)
Prior to this patch we incremented step_index every time the debugger
stopped. Now that some stops are not recorded, we should only increment
the step_index for those that are.
This should make the `-v` output more consistent between platforms and
debuggers.
Diffstat (limited to 'cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/control/dex_step_function.cpp')
| -rw-r--r-- | cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/control/dex_step_function.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/control/dex_step_function.cpp b/cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/control/dex_step_function.cpp index e7e666d0e0dc..900e10b64a96 100644 --- a/cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/control/dex_step_function.cpp +++ b/cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/control/dex_step_function.cpp @@ -35,5 +35,5 @@ int main() { // CHECK-NEXT:. [1, "a(int)", "{{.*}}dex_step_function.cpp", 23, 12, "StopReason.STEP", "StepKind.VERTICAL_FORWARD", []] // CHECK-NEXT:. . . [2, "c(int)", "{{.*}}dex_step_function.cpp", 12, 3, "StopReason.BREAKPOINT", "StepKind.FUNC", []] // CHECK-NEXT:. . . [3, "c(int)", "{{.*}}dex_step_function.cpp", 13, 3, "StopReason.STEP", "StepKind.VERTICAL_FORWARD", []] -// CHECK-NEXT:. [6, "a(int)", "{{.*}}dex_step_function.cpp", 23, 3, "StopReason.STEP", "StepKind.HORIZONTAL_BACKWARD", []] +// CHECK-NEXT:. [4, "a(int)", "{{.*}}dex_step_function.cpp", 23, 3, "StopReason.STEP", "StepKind.HORIZONTAL_BACKWARD", []] // CHECK-NEXT: ## END (5 steps) ## |
