User Tools

Site Tools


howtos:debugging:model_debugging_in_samm

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
howtos:debugging:model_debugging_in_samm [2011/06/24 13:48]
chris.strashok
howtos:debugging:model_debugging_in_samm [2011/06/24 17:53]
chris.strashok
Line 32: Line 32:
 Note that each of these options can be used alone or in combination with one another depending on your requirements. Note that each of these options can be used alone or in combination with one another depending on your requirements.
  
-===== Using TOOL Code =====+===== TOOL Code ===== 
 + 
 +You can also programatically incorporate debugging features in your Documeter code. This method is more flexible than setting the SAMM Preferences as you can pick and choose what code you want to debug. However you need to remember to when using this method you need to [[howtos:​update_code_diagram|re-load any calculators that you have modified beck into SAMM]]. 
 + 
 +==== single step and display output objects ==== 
 + 
 +You can activate the **single step** and **display output objects** debug features in your Documenter code by adding the following lines of code around the section you are interested in debugging.
  
-You can also programatically activate the **single step** and **display output objects** debug features by adding the following lines of code in your Documeter code around the section of code you are interested in debugging. 
 <​code>​ <​code>​
 $singleStep = on $singleStep = on
Line 48: Line 53:
  
 Note: Note:
-  * you need to ensure that the tool.links is properly configured to call Table or Graph as soon above.+  * you need to ensure that the tool.links is properly configured to call Table or Graph as shown above.
   * once you change the code in Documenter you will need to [[howtos:​update_code_diagram|re-load the calculator into SAMM]]   * once you change the code in Documenter you will need to [[howtos:​update_code_diagram|re-load the calculator into SAMM]]
  
-===== seeshape, table and display ​=====+==== seeshape, table and display ====
  
  
howtos/debugging/model_debugging_in_samm.txt · Last modified: 2011/06/24 17:54 by chris.strashok