Difference between revisions of "Experimental:Palette:debugControl"

From TouchDesigner Documentation
Jump to: navigation, search
(Created page with "{{Summary |opFamily=COMP |opType=base |opClass=Palette:debugControl Ext |opLicense= |short= |long=This component facilitates experimentation with and control of the buil...")
 
 
Line 33: Line 33:
 
|parSummary=Refreshes parameters to current debug style settings.
 
|parSummary=Refreshes parameters to current debug style settings.
 
|parOrder=1
 
|parOrder=1
 +
|parItems=}}
 +
{{Parameter
 +
|opFamily=COMP
 +
|opType=
 +
|parLabel=Apply Settings On Start
 +
|parName=Applysettingsonstart
 +
|parType=Toggle
 +
|parReadOnly=
 +
|parSummary=If On, apply the component's <code>debug</code> setting parameters when TouchDesigner is started. Otherwise, the parameters will be refreshed to default settings on start.
 +
|parOrder=2
 
|parItems=}}
 
|parItems=}}
 
{{Parameter
 
{{Parameter
Line 42: Line 52:
 
|parReadOnly=
 
|parReadOnly=
 
|parSummary=display <code>repr</code> of all non-string arguments to <code>debug</code>
 
|parSummary=display <code>repr</code> of all non-string arguments to <code>debug</code>
|parOrder=2
+
|parOrder=3
 
|parItems=}}
 
|parItems=}}
 
{{Parameter
 
{{Parameter
Line 52: Line 62:
 
|parReadOnly=
 
|parReadOnly=
 
|parSummary=in <code>debug</code> message, show the DAT where <code>debug</code> was called
 
|parSummary=in <code>debug</code> message, show the DAT where <code>debug</code> was called
|parOrder=3
+
|parOrder=4
 
|parItems=}}
 
|parItems=}}
 
{{Parameter
 
{{Parameter
Line 62: Line 72:
 
|parReadOnly=
 
|parReadOnly=
 
|parSummary=in <code>debug</code> message, show function where <code>debug</code> was called
 
|parSummary=in <code>debug</code> message, show function where <code>debug</code> was called
|parOrder=4
+
|parOrder=5
 
|parItems=}}
 
|parItems=}}
 
{{Parameter
 
{{Parameter
Line 72: Line 82:
 
|parReadOnly=
 
|parReadOnly=
 
|parSummary=in <code>debug</code> message, show line number where <code>debug</code> was called
 
|parSummary=in <code>debug</code> message, show line number where <code>debug</code> was called
|parOrder=5
+
|parOrder=6
 
|parItems=}}
 
|parItems=}}
 
{{Parameter
 
{{Parameter
Line 82: Line 92:
 
|parReadOnly=
 
|parReadOnly=
 
|parSummary=if True, suppress (don't print) any <code>debug</code> calls  
 
|parSummary=if True, suppress (don't print) any <code>debug</code> calls  
|parOrder=6
+
|parOrder=7
 
|parItems=}}
 
|parItems=}}
 
{{Parameter
 
{{Parameter
Line 92: Line 102:
 
|parReadOnly=
 
|parReadOnly=
 
|parSummary=overrides the default message that <code>debug</code> prints. You can use {0}, {1}, and {2} for DAT, function, and line number
 
|parSummary=overrides the default message that <code>debug</code> prints. You can use {0}, {1}, and {2} for DAT, function, and line number
|parOrder=7
+
|parOrder=8
 
|parItems=}}
 
|parItems=}}
 
{{Parameter
 
{{Parameter
Line 102: Line 112:
 
|parReadOnly=
 
|parReadOnly=
 
|parSummary=overrides the builtin TD debug function. This function will be called with all arguments from any debug calls in your project. Set to False to remove override.
 
|parSummary=overrides the builtin TD debug function. This function will be called with all arguments from any debug calls in your project. Set to False to remove override.
|parOrder=8
+
|parOrder=9
 
|parItems=}}
 
|parItems=}}
 
{{Parameter
 
{{Parameter
Line 112: Line 122:
 
|parReadOnly=
 
|parReadOnly=
 
|parSummary=evaluated argument to pass to <code>debug</code> as a test
 
|parSummary=evaluated argument to pass to <code>debug</code> as a test
|parOrder=9
+
|parOrder=10
 
|parItems=}}
 
|parItems=}}
 
{{Parameter
 
{{Parameter
Line 122: Line 132:
 
|parReadOnly=
 
|parReadOnly=
 
|parSummary=Run a test <code>debug</code> call with the argument provided in Test Debug parameter
 
|parSummary=Run a test <code>debug</code> call with the argument provided in Test Debug parameter
|parOrder=10
+
|parOrder=11
 
|parItems=}}
 
|parItems=}}
 
{{Parameter
 
{{Parameter
Line 132: Line 142:
 
|parReadOnly=
 
|parReadOnly=
 
|parSummary=
 
|parSummary=
|parOrder=11
+
|parOrder=12
 
|parItems=}}
 
|parItems=}}
 
}}
 
}}

Latest revision as of 18:36, 17 October 2020

Summary
[edit]

This component facilitates experimentation with and control of the builtin debug statement. It is an operator based interface for the debug module.

PythonIcon.pngPalette:debugControl Ext


Usage

Setting the various parameters will use the tdu.debug.setStyle function to change the behavior of the builtin debug statement. You can use the Test pulse to print a test debug statement to the textport.


Parameters - Debug Control Page

Help Help - Opens this page.  

Refresh Refresh - Refreshes parameters to current debug style settings.  

Apply Settings On Start Applysettingsonstart - If On, apply the component's debug setting parameters when TouchDesigner is started. Otherwise, the parameters will be refreshed to default settings on start.  

useRepr Userepr - display repr of all non-string arguments to debug  

showDAT Showdat - in debug message, show the DAT where debug was called  

showFunction Showfunction - in debug message, show function where debug was called  

showLineNo Showlineno - in debug message, show line number where debug was called  

Suppress Suppress - if True, suppress (don't print) any debug calls  

formatOverride Formatoverride - overrides the default message that debug prints. You can use {0}, {1}, and {2} for DAT, function, and line number  

functionOverride Functionoverride - overrides the builtin TD debug function. This function will be called with all arguments from any debug calls in your project. Set to False to remove override.  

Test Debug Testdebug - evaluated argument to pass to debug as a test  

Test Test - Run a test debug call with the argument provided in Test Debug parameter  

Version Version -  


Palette
Palette • Palette:arcBallCamera • Palette:arcBallGeometry • Palette:audioAnalysis • Palette:audioSet • Palette:battery • Palette:blendModes • Palette:bloom • Palette:cameraBrowser • Palette:camSchnappr • Palette:changeColor • Palette:changeToColor • Palette:checker • Palette:chromaKey • Palette:colorThreshold • Palette:compareComp • Palette:convolve • Palette:cornerPinSOP • Palette:customAttributes • Experimental:Palette:debugControl • Palette:dent • Palette:depthExtract • Palette:dilate • Palette:equalizer • Palette:feedback • Palette:feedbackEdge • Palette:firmata • Palette:geoPanel • Palette:gestureCapture • Palette:graphPlot • Palette:histogram • Palette:hsvBlur • Palette:imageSearch • Palette:julia • Palette:kantanMapper • Palette:kinectCalibration • Palette:kinectPointcloud • Palette:leapPaint • Palette:lightTunnel • Palette:mandelbrot • Palette:mesh • Palette:monochrome • Palette:motionSense • Palette:moviePlayer • Palette:multiLevel • Palette:multiMix • Palette:noise • Palette:onScreenKeyboard • Palette:opticalFlow • Palette:particlesGpu • Palette:pixelate • Palette:pixelRelocator • Palette:pointGenerator • Palette:pointillize • Palette:pointMerge • Palette:pointRender • Palette:pointRepack • Palette:pointTransform • Palette:pointWeight • Palette:popDialog • Palette:probe • Palette:projectorBlend • Palette:pushPins • Palette:puzzle • Palette:radialBlur • Palette:remotePanel • Palette:rgbaBlur • Palette:rgbaDelay • Palette:rgbContrast • Palette:search • Palette:searchReplace • Palette:sharpen • Palette:softenAlpha • Palette:solarize • Palette:sopRender • Palette:stitcher • Palette:stoner • Palette:superFormula • Palette:sweetSpotPreviz • Palette:TDVR • Palette:transitMap • Palette:twirl • Palette:vectorScope • Palette:virtualFile • Palette:waveformMonitor • Palette:webBrowser • Palette:xyScope

An Operator Family that manipulates text strings: multi-line text or tables. Multi-line text is often a command Script, but can be any multi-line text. Tables are rows and columns of cells, each containing a text string.

A built-in panel in TouchDesigner that contains a library of components and media that can be dragged-dropped into a TouchDesigner network.