How do I trouble-shoot process model compile-time errors and simulation run-time errors?
• Examine the trouble-shooting chapter (Chapter Tsh of the Tutorial Manual). • Use the opnet debugger. The debugger is extensive, but here are some hints. – If you’re using the command line mode of the debugger (instead of the M3UI), type “help” for a command summary. – Other good commands are: objmap all, objid, tstop, cont, objprint or attrget, hist, and quit – To learn more about running the OPNET Debugger (ODB), read through Simx-22 to Simx-140 of the External Interfaces Manual. • Use the Diagnostic Block – My understanding is that code that is contained in this block is only executed when the debugger is enabled. (You should verify this…) • Use the m3_vuerr command to see the function stack. The stack “builds downward” so the function which was executed last, will appear at the bottom. In order for procedures that you create to appear, you must include FIN, FRET, and FOUT statements. • 16.0 What’s the difference between State Variables and Temporary Variables? According to page