Skip to content

Feature Request: Override next line to execute when debugging #5238

@MrDRamos

Description

@MrDRamos

Prerequisites

  • I have written a descriptive issue title.
  • I have searched all issues to ensure it has not already been reported.

Summary

While debugging a PowerShell script step by step I would like to be able to choose the next line of code to execute on the fly. For example, an if statement might be incorrect and the code starts executing the wrong branch. Being able to switch the next exection line to the alternate branch (without the need to restart the entire debug session from scratch) can save a lot of time and agravation. Visual studio C++ and C# debugger have this very usefull feature.

Proposed Design

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-EnhancementA feature request (enhancement).Pending: ExternalThis issue is not fixed here, it is fixed in a dependent repo such as PowerShell,PSScriptAnalyzer

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions