<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Toggle debug print in Maxscript</title>
	<atom:link href="http://www.rsart.co.uk/2011/07/23/toggle-debug-print-in-maxscript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rsart.co.uk/2011/07/23/toggle-debug-print-in-maxscript/</link>
	<description>Rick Stirling, games artist</description>
	<lastBuildDate>Tue, 24 Jan 2012 00:27:10 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Rick</title>
		<link>http://www.rsart.co.uk/2011/07/23/toggle-debug-print-in-maxscript/comment-page-1/#comment-37815</link>
		<dc:creator>Rick</dc:creator>
		<pubDate>Thu, 04 Aug 2011 21:10:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.rsart.co.uk/?p=407#comment-37815</guid>
		<description>Cheers Robert! I did a quick edit on your comment to make the code easier to read by wrapping it &lt;pre&gt;
</description>
		<content:encoded><![CDATA[<p>Cheers Robert! I did a quick edit on your comment to make the code easier to read by wrapping it &lt;pre&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Hexter</title>
		<link>http://www.rsart.co.uk/2011/07/23/toggle-debug-print-in-maxscript/comment-page-1/#comment-37777</link>
		<dc:creator>Robert Hexter</dc:creator>
		<pubDate>Tue, 02 Aug 2011 17:34:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.rsart.co.uk/?p=407#comment-37777</guid>
		<description>Of course if your site maintained the indentation the dump at the bottom would be tabbed as the code stepped in and out of procs</description>
		<content:encoded><![CDATA[<p>Of course if your site maintained the indentation the dump at the bottom would be tabbed as the code stepped in and out of procs</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Hexter</title>
		<link>http://www.rsart.co.uk/2011/07/23/toggle-debug-print-in-maxscript/comment-page-1/#comment-37776</link>
		<dc:creator>Robert Hexter</dc:creator>
		<pubDate>Tue, 02 Aug 2011 17:33:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.rsart.co.uk/?p=407#comment-37776</guid>
		<description>I implemented a similar system that indents processes as they run it was mel..
This would log effectively stack traces, you could use the dInits to trip a debug dump of current state if you went a certain direction in code you weren&#039;t expecting.. made working with me infinitely quicker.

Using a combination of:
dInit
dStart
dPrint
dPrintArray
dEnd
dReset

would give you:
&lt;pre&gt;
{
    *************We have lighting data to add ************
    Contents of: $cmds
    			lightingChunkGroupVis ( 1, &quot;ff_interior_lightingData&quot; )
    			lightingChunkGroupVis ( 0, &quot;ff_interior_lightingData&quot; )
    createDialOutGui
    {
        Frame_ff_interior_lighting
    }
    createLevelChunkButton
    {
        Creating button for: 
        					x_FrostFire --&gt; ff_interior_sh
        					parentUi --&gt; ff_interior_lighting_column
        ff_interior_sh_visCheckBox
        chunkButtonStates
        {
            ff_interior_sh
        }
    }
    lightingDataUiVisability
    {
        currentWorkSpace
        {
        }
        getSceneRefList
        {
            in getAtgiLevelReferenceNodes
            {
            }
        }
        levelDialOutStates
        {
            lighting-&gt;
        }
        setLightingChunkVis
        {
            getLightingChunkReferences
            {
                $chunk --&gt; 
                Contents of: $lightingChunks
                getSceneRefList
                {
                    in getAtgiLevelReferenceNodes
                    {
                    }
                }
            }
            Contents of: $allLightingChunks
            			ff_interior_sh
            $lchunk -&gt;ff_interior_sh
            $visCheckBox -&gt;ff_interior_sh_visCheckBox
            showChunk
            {
                whichNode
                {
                }
            }
        }

&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>I implemented a similar system that indents processes as they run it was mel..<br />
This would log effectively stack traces, you could use the dInits to trip a debug dump of current state if you went a certain direction in code you weren&#8217;t expecting.. made working with me infinitely quicker.</p>
<p>Using a combination of:<br />
dInit<br />
dStart<br />
dPrint<br />
dPrintArray<br />
dEnd<br />
dReset</p>
<p>would give you:</p>
<pre>
{
    *************We have lighting data to add ************
    Contents of: $cmds
    			lightingChunkGroupVis ( 1, "ff_interior_lightingData" )
    			lightingChunkGroupVis ( 0, "ff_interior_lightingData" )
    createDialOutGui
    {
        Frame_ff_interior_lighting
    }
    createLevelChunkButton
    {
        Creating button for:
        					x_FrostFire --&gt; ff_interior_sh
        					parentUi --&gt; ff_interior_lighting_column
        ff_interior_sh_visCheckBox
        chunkButtonStates
        {
            ff_interior_sh
        }
    }
    lightingDataUiVisability
    {
        currentWorkSpace
        {
        }
        getSceneRefList
        {
            in getAtgiLevelReferenceNodes
            {
            }
        }
        levelDialOutStates
        {
            lighting-&gt;
        }
        setLightingChunkVis
        {
            getLightingChunkReferences
            {
                $chunk --&gt;
                Contents of: $lightingChunks
                getSceneRefList
                {
                    in getAtgiLevelReferenceNodes
                    {
                    }
                }
            }
            Contents of: $allLightingChunks
            			ff_interior_sh
            $lchunk -&gt;ff_interior_sh
            $visCheckBox -&gt;ff_interior_sh_visCheckBox
            showChunk
            {
                whichNode
                {
                }
            }
        }
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: imnotmatthonest</title>
		<link>http://www.rsart.co.uk/2011/07/23/toggle-debug-print-in-maxscript/comment-page-1/#comment-37625</link>
		<dc:creator>imnotmatthonest</dc:creator>
		<pubDate>Mon, 25 Jul 2011 20:28:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.rsart.co.uk/?p=407#comment-37625</guid>
		<description>That&#039;s a really good idea!</description>
		<content:encoded><![CDATA[<p>That&#8217;s a really good idea!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

