Forum Discussion
Feature Request: Visual Studio‑Style Debugging for Arrays, LAMBDA, and No‑Code Excel Apps
Feature Request: Please enhance Excel’s formula debugging tools to support dynamic arrays and LAMBDA. Current debugging is too limited. This request focuses on desktop Excel, where debugging tools are available today. While the Mac and Web versions currently lack debugging support, these features could eventually be extended cross‑platform. Desired capabilities include cell watch, breakpoints, context debugging for array elements, and richer error tracing.
Desired capabilities include:
- Execution Control
- Formula Window: trace the execution of a formula, including pausing, stepping, run-to, and start-from-here controls.
- Breakpoint Window: set and remove breakpoints.
- Data Inspection & Manipulation
- Data Window: collapse or inspect specific elements in an intermediate or destination array.
- Data Manipulation: view and alter intermediate data values, particularly LAMBDA arguments.
- Data Watch: monitor selected intermediate values step-by-step throughout formula execution, with the ability to break when a specific value is reached.
- Cell Context
- Cell Watch: monitor specific destination cells within an array during formula evaluation.
- Context Debugging: click on a cell within a dynamic array to debug that element’s evaluation path.
- Rules & Formatting
- Conditional Format: load and debug the conditional format rules for the selected cell.
- Data Validation: load and debug the data validation rules for the selected cell.
- Error Tracing & Intelligence
- Richer Error Context: trace where and why a formula fails, e.g., provide an execution trace log.
- Copilot Integration: enhance formula formatting and interpret intermediate execution steps to provide insights into issues, optimization opportunities, and potential improvements.
- Interface Improvements
- Debugger Window: resize the debugger window and display fonts; enable and resize the formula, data, and breakpoint windows.
These features would make debugging modern Excel formulas more intuitive, reduce trial-and-error, help users better understand conditional formatting and data validation, empower advanced users to fully leverage dynamic arrays and LAMBDA, and realize no-code applications using Excel — with Copilot providing intelligent insights along the way.
2 Replies
- Patrick2788Silver Contributor
This is a good item to upvote and leave comment (if you desire) from Microsoft:
New Formula editing experience · Community - SergeiBaklanDiamond Contributor
Right place for feature request or bug reporting is Feedback portal Excel · Community. You may support similar existing request as Feature Request: Enhance Excel’s formula debugging tools for dynamic arrays and LAMBDA. · Community or submit your own.
On this resource, which is not for Microsoft people but for ones who voluntary share their knowledge and experience, you may share the link on such request and ask people to vote for it if they wish. More votes more chances Microsoft put it on radar.
As for debugging partly it's built into Advance Formula Environment and in tools from Charles Williams Excel Downloads - Decision Models