Skip to content

Commit 575c631

Browse files
committed
show step index
1 parent 49c8965 commit 575c631

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/remix-ui/debugger-ui/src/lib/debug-layout/debug-layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -944,7 +944,7 @@ export const DebugLayout = ({
944944
style={{ cursor: 'pointer' }}
945945
>
946946
<h6 className="debug-section-title">
947-
Call Trace (Trace Length: {(traceData && traceData.traceLength) || 0})
947+
Call Trace (Step: {stepManager?.currentStepIndex ?? 0} / {(traceData && (traceData.traceLength - 1)) || 0})
948948
</h6>
949949
<i className={`fas ${expandedSections.callTrace ? 'fa-chevron-down' : 'fa-chevron-right'}`} style={{ fontSize: '0.75rem', marginRight: '1rem', color: 'var(--bs-body-color)' }}></i>
950950
</div>

0 commit comments

Comments
 (0)