Tool tree
Using the .NET stack trace formatter, you can pretty print any stack trace and either copy and paste it or download a screenshot for your blog post.
Implementation
gradeNot graded
gradeNot graded
format_stack_traceAction
Pretty prints a raw .NET stack trace (one frame per line, inner exceptions preserved) and shows it on the page, replacing any stack trace currently entered there. Formatting happens client-side; nothing is sent to elmah.io.
View tool JSON
{
"name": "format_stack_trace",
"kind": "act",
"impl": "imperative",
"description": "Pretty prints a raw .NET stack trace (one frame per line, inner exceptions preserved) and shows it on the page, replacing any stack trace currently entered there. Formatting happens client-side; nothing is sent to elmah.io.",
"inputSchema": {
"type": "object",
"properties": {
"rawStackTrace": {
"type": "string",
"description": "The unformatted raw .NET stack trace."
},
"outputType": {
"type": "string",
"enum": [
"markdown",
"text"
],
"description": "Output format. \"markdown\" wraps the result in a csharp code fence, \"text\" returns it as is. Defaults to \"markdown\"."
}
},
"required": [
"rawStackTrace"
]
},
"page": "/tools/stack-trace-formatter/"
}