                         <h2>Headers</h2>
                         <cfdump var="#getHttpRequestData().headers#" top="2" expand="false" />
                     </div>
-                    <div>
-                        <h2>session</h2>
-                        <cfdump var="#session#" top="2" expand="false" />
-                    </div>
+                    <cftry>
+                        <cfset thisSession = session />
+                        <div>
+                            <h2>session</h2>
+                                <cfdump var="#thisSession#" top="2" expand="false" />
+                        </div>
+                        <cfcatch></cfcatch>
+                    </cftry>
                     <div>
                         <h2>application</h2>
                         <cfdump var="#application#" top="2" expand="false" />

<cfscript>
    function strLimit( str, limit, ending = "..." ) {
        if ( len( str ) <= limit ) {
            return str;
        }
        return mid( str, 1, limit ) & ending;
    }

    function isScriptFile( path ) {
        return application.wirebox.getInstance(
            name = "File@CFMLParser",
            initArguments = { path = path }
        ).isScript();
    }
</cfscript>


                </div>
            </div>
        </div>
        <cfloop from="1" to="#arrayLen( local.e.TagContext )#" index="i">
            <cfset instance = local.e.TagContext[ i ] />
            <cfset highlighter = isScriptFile( instance.template ) ? "js" : "cf" />
            <div id="stack#stackFrames - i + 1#-code" data-highlight-line="#instance.line#" style="display: none;">
                <script type="text/syntaxhighlighter" class="brush: #highlighter#; highlight: [#instance.line#]"><![CDATA[#lTrim( fileRead( instance.template ) )#]]></script>
