Metis Smart Modeling - Debug
From Metis Documentation
(→Debugging a model) |
(→Using Metis Smart Quote) |
||
Line 112: | Line 112: | ||
+ | To begin, open an existing project and an existing offer in Metis Smart Quotes. The selected offer has been configured in the design menu. | ||
+ | The model has automatically been executed when clicking on the price menu. | ||
+ | A debug file can now be generated from the Price menu. | ||
+ | Click on the “More” button and select “Debug Mode.” An explorer window opens with the created debug file. This file can now be read in Smart Modeling. | ||
+ | Now in Smart Modeling, make sure to be in the “Modeling” menu, then click on the “debug” sub-menu. | ||
+ | An explorer window opens where the debug file can be selected and then opened. | ||
+ | Once opened, the debug sub-menu appears. Under the top table, click on “expand all.” | ||
+ | Information about the price category, the models or the rules is displayed. It is possible to see the details about a rule. For example, select the rule “Configure basic hardware based on CPU choice (low).” | ||
+ | Preview the rule by either clicking on the “Rule Preview” button or by double clicking on the selected rule. | ||
+ | The rule window opens showing details about the rule. Close this window. | ||
+ | In the second table below, the first tab “Output Values and Watchdogs,” lists all output variables and positions used by the models. | ||
+ | The user can also set a “watchdog” to a position or a variable. A “watchdog” can be considered as a breakpoint. When executing the model using the “Start” and “Next Break point” buttons, the process continues until the “watchdog” position or variable is encountered. | ||
+ | The second tab lists the input values which were defined in the mask in Smart Quotes. | ||
+ | Click on the “Start” button to execute the model. Click on the next button to execute the rules of the model, step by step. | ||
+ | The result values associated with the execution of the rules are displayed in the table “output values and watchdogs” below. | ||
+ | Clicking on the “Stop” button stops the model execution and the values disappear. | ||
- | |||
- | |||
- | |||
- | |||
- | |||
{{Video | {{Video | ||
- | | <mediaplayer width='400' height='300'>File: | + | | <mediaplayer width='400' height='300'>File:Debug Tool OK.mp4</mediaplayer> |
| Using Metis Smart Quotes to test a full model, importing the environment in Metis Smart Modeling and running the step-by-step execution on the it. | | Using Metis Smart Quotes to test a full model, importing the environment in Metis Smart Modeling and running the step-by-step execution on the it. | ||
}} | }} |