vex pragmas for debug mode

   1636   0   1
User Avatar
Member
380 posts
Joined: 7月 2005
Offline
I want to setup a debug toggle that is hidden in the main parameter dialog, but accessible via scripting methods.


#pragma hint parm hidden
#pragma export parm 0


looks to hide the parameter completely, so that i cannot opparm the toggle to 1 when i want to output a debug trace. And the export line looked promising if the parm could be set to only be displayed in the operator tool bar, or some less obvious place.

Im not particularly attached to having a debug parm. Especially if there's some other way, such as reading a flag from the environment in ones vex code.

#defines? #includes? anyone?
  • Quick Links