Top "Stack-trace" questions

A report of the active stack frames at a certain point in time during the execution of a program.

Print current call stack from a method in Python code

In Python, how can I print the current call stack from within a method (for debugging purposes).

python debugging stack-trace
How to send a stacktrace to log4j?

Say you catch an exception and get the following on the standard output (like, say, the console) if you do …

java logging log4j stack-trace
Showing the stack trace from a running Python application

I have this Python application that gets stuck from time to time and I can't find out where. Is there …

python debugging stack-trace traceback
e.printStackTrace equivalent in python

I know that print(e) (where e is an Exception) prints the occurred exception but, I was trying to find …

java python exception stack-trace
How do I find the stack trace in Visual Studio?

I ask because I couldn't find the stack trace in Visual Studio, while debugging an exception that occurred.

.net visual-studio debugging exception-handling stack-trace
Why is exception.printStackTrace() considered bad practice?

There is a lot of material out there which suggests that printing the stack trace of an exception is bad …

java exception stack-trace printstacktrace
How to log as much information as possible for a Java Exception?

There's a common problem I've come across a few times when logging Exceptions. There seem to be various different types …

java exception logging methods stack-trace
How can one grab a stack trace in C?

I know there's no standard C function to do this. I was wondering what are the techniques to to this …

c windows debugging cross-platform stack-trace
Java / Android - How to print out a full stack trace?

In Android (Java) how do I print out a full stack trace? If my application crashes from nullPointerException or something, …

java android exception stack stack-trace
Display lines number in Stack Trace for .NET assembly in Release mode

Is there a way to display the lines in the stack trace for the .NET assembly build/deployed in Release …

c# .net visual-studio stack-trace line-numbers