Jump to content

Recommended Posts

Posted

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!

 

  • 4 weeks later...
Posted

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.

×
×
  • Create New...