DebugHit: Difference between revisions

From Compost Wiki
Jump to navigation Jump to search
JefD (talk | contribs)
New page: '''DebugHit''' :This command is used to set a named breakpoint in a post for the post debugger. It takes a parameter that specifies the breakpoint name. If the post debugger is not active...
 
Jeffm (talk | contribs)
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''DebugHit'''
==DebugHit('N')==
 
{{Description|description=This command is used to trigger special internal debug functions mainly used by development to test new features. This command should never be called in a production post.}}
:This command is used to set a named breakpoint in a post for the post debugger. It takes a parameter that specifies the breakpoint name. If the post debugger is not active or not installed then this command will not do anything.
{{Notes|notes= Functions that may be useful when debugging posts:
* DebugHit('ProgOffsetAtEOL') outputs the current prog offset at every EOL call
::{| style="background-color:#dddddd;" cellpadding="10" cellspacing="0" border="1"
* DebugHit('ModeDump') outputs information about the current UKM Mode
|'''ID''' || 611
* DebugHit('StepType') outputs information about the current UKM Step
|-
* DebugHit('AxisDump') outputs information about the current UKM Axis values
| '''Date added''' || 4/30/2002
* DebugHit('FlowAxisSetInfo') outputs information about the current UKM Flow Axis Set
|-
* DebugHit('RepeatMarker') && DebugHit('CurrentRepeat') outputs information about the current super subs repeat
|'''Type''' || Command
* DebugHit('DebugTree') brings up a dialog box showing the state of the current kinematic tree.
|-
}}
| '''Class/Scope''' || All
{{Stats|id=611|type=Command|class=All Machines|scope=|version=}}
|-
[[Category:MTM]]
|'''Min Version''' ||
|-
| '''Notes''' || This command is only useful with the post debugger.
|}
 
[[Category:MTM]] [[Category:Command]] [[Category:All Machines]]

Latest revision as of 17:08, 25 April 2016

DebugHit('N')

Description

This command is used to trigger special internal debug functions mainly used by development to test new features. This command should never be called in a production post.


Notes

Functions that may be useful when debugging posts:

  • DebugHit('ProgOffsetAtEOL') outputs the current prog offset at every EOL call
  • DebugHit('ModeDump') outputs information about the current UKM Mode
  • DebugHit('StepType') outputs information about the current UKM Step
  • DebugHit('AxisDump') outputs information about the current UKM Axis values
  • DebugHit('FlowAxisSetInfo') outputs information about the current UKM Flow Axis Set
  • DebugHit('RepeatMarker') && DebugHit('CurrentRepeat') outputs information about the current super subs repeat
  • DebugHit('DebugTree') brings up a dialog box showing the state of the current kinematic tree.


Stats

ID 611
Type Command
Class All Machines
Min Version 11