From 9ac2df4690ea1cab11a63b4e705c66d7826efa53 Mon Sep 17 00:00:00 2001 From: peterbarancek <62284244+peterbarancek@users.noreply.github.com> Date: Tue, 17 Mar 2026 15:56:37 +0100 Subject: [PATCH] Update step run button logic and breakpoint handling Modified ShowCurrentStepRunButtons to relax execution mode check, allowing buttons to display for ExecuteAndContinue mode. Added logic to set step execution mode to ExecuteAndContinue when a breakpoint is unchecked, with additional commented-out stepping mode options for future use. --- .../AxoSequencer/AxoSequencerDebuggerView.razor.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/core/src/AXOpen.Core.Blazor/AxoCoordination/AxoSequencer/AxoSequencerDebuggerView.razor.cs b/src/core/src/AXOpen.Core.Blazor/AxoCoordination/AxoSequencer/AxoSequencerDebuggerView.razor.cs index 37d953557..6a4df1ca4 100644 --- a/src/core/src/AXOpen.Core.Blazor/AxoCoordination/AxoSequencer/AxoSequencerDebuggerView.razor.cs +++ b/src/core/src/AXOpen.Core.Blazor/AxoCoordination/AxoSequencer/AxoSequencerDebuggerView.razor.cs @@ -31,7 +31,7 @@ public partial class AxoSequencerDebuggerView : RenderableComplexComponentBase Component.CurrentStep is not null - && Component.CurrentStep.StepExecutionMode.LastValue != (short)eAxoStepExecutionMode.ExecuteAndContinue + //&& Component.CurrentStep.StepExecutionMode.LastValue != (short)eAxoStepExecutionMode.ExecuteAndContinue && Component.CurrentStep.Status.LastValue == (short)eAxoTaskState.Ready; private bool ShowCurrentStepRunning => @@ -124,7 +124,12 @@ private async Task ToggleBreakpointAsync(FlatAxoStepItem item, ChangeEventArgs a if (!isChecked) { if (item.Step.StepExecutionMode.LastValue != (short)eAxoStepExecutionMode.ExecuteAndContinue) + { await item.Step.StepExecutionMode.SetAsync((short)eAxoStepExecutionMode.ExecuteAndContinue); + + //await this.Component.SetReqSteppingMode.SetAsync(true); + //await this.Component.ReqSteppingMode.SetAsync((short)eAxoSteppingMode.Continous); + } } StateHasChanged();