GHao Posted December 30, 2023 Share Posted December 30, 2023 Hello all, Can I use "print" command or similar process steps to print some information into console or a file for debugging? For example, in other programming environment, such as Javascript, I can insert ```console.log("xxxx");``` into program. Thank you! Link to comment Share on other sites More sharing options...
deod Posted January 24 Share Posted January 24 You can run the model with 'Trace' turned on. This will trace everything happening in the model, including changes to state variables etc. Turning Trace on also generates a CSV file that you can use to debug. You can also use watch window to debug. Link to comment Share on other sites More sharing options...
Recommended Posts