Details
-
Suggestion
-
Status: New
-
Resolution: Unresolved
-
None
-
None
-
None
Description
User Story:
As a user
I should be able to debug a template using MS-Add-ins
So that I can validate and mitigate errors.
Context:
A debugging tool should be created on our MS Add-ins that allows the user to identify and solve any issues on the template before uploading it to Xporter. This would reduce the amount of back n forth that the user has to do to validate the template and improve the quality of the exports.
It should provide the following:
- Bug Identification: Debugger would help locate and identify bugs in the code. This includes runtime errors, logical errors, crashes, and unexpected behaviors that can cause the template to have errors.
- Step-by-Step Execution: Allow the user to execute the template build and placeholder substitution line by line, helping them understand how Xporter behaves at each step. This is crucial for identifying the point at which an error occurs.
- Variable Inspection: Users can inspect the values of variables and data structures during template build. This helps in understanding the state of the template at a specific point and identifying variables that may be causing issues.
- Breakpoints: Developers should be able to insert breakpoints. When the program execution reaches a breakpoint, it pauses, allowing developers to examine variables, data, and the program's state up to that point.