.spark-debug-tools.0.5.source-code.debugscreen.ftl Maven / Gradle / Ivy
<#escape x as x?html>
${basic_type}
Spark Framework Debug
<#list name as namePart>${namePart}#list>
Stack frames (${frames?size}):
<#assign found = false>
<#list frames as frame>
${frames?size - frame?counter}
${frame.class}
${frame.function}
${frame.file}<#if frame.line != "-1">${frame.line}#if>
#list>
<#assign found = false>
<#list frames as frame>
${frame.file}
<#if frame.canonical_path??>
(${frame.canonical_path})
#if>
<#if frame.code??>
${frame.code}
#if>
<#--<#list 0..frames[i].comments?size-1 as commentNo>
<#assign comment = frames[i].comments[commentNo]>
${comment.context}
${comment.text}
#list>-->
#list>
<#list tables?keys as label>
<#assign data = tables[label]>
${label}
<#if data?has_content>
Key
Value
<#list data?keys as k>
${k}
${data[k]}
#list>
<#else>
EMPTY
#if>
#list>
#escape>