GHao Posted December 30, 2023 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!
deod Posted January 24, 2024 Posted January 24, 2024 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.
Recommended Posts