Top "Stack-trace" questions

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

Print full call stack on printStackTrace()?

I need to write small a log analyzer application to process some log files generated by a 3rd party closed …

java logging stack-trace
Get __name__ of calling function's module in Python

Suppose myapp/foo.py contains: def info(msg): caller_name = ???? print '[%s] %s' % (caller_name, msg) And myapp/bar.…

python stack-trace introspection
How can I get PHP to produce a backtrace upon errors?

Trying to debug PHP using its default current-line-only error messages is horrible. How can I get PHP to produce a …

php debugging error-handling stack-trace backtrace
Xcode full stack trace

While debugging is there anyway to see a complete stack trace, list of methods called in main thread. Or any …

xcode stack-trace
Get current stack trace in Ruby without raising an exception

I want to log the current backtrace (stacktrace) in a Rails 3 app without an exception occurring. Any idea how? Why …

ruby stack-trace
How to get a complete stack trace of a running java program that is taking 100% cpu?

I do have a jenkins instance that is stuck in some kind of endless loop without any visible activity. I …

java debugging stack-trace
C# equivalent to Java's Exception.printStackTrace()?

Is there a C# equivalent method to Java's Exception.printStackTrace() or do I have to write something myself, working my …

c# .net exception stack-trace
How can I rethrow an exception in Javascript, but preserve the stack?

In Javascript, suppose I want to perform some cleanup when an exception happens, but let the exception continue to propagate …

javascript exception exception-handling stack-trace callstack
Can I get detailed exception stacktrace in PowerShell?

Runing such script: 1: function foo() 2: { 3: bar 4: } 5: 6: function bar() 7: { 8: throw "test" 9: } 10: 11: foo I see test At C:\test.ps1:8 char:10 Can …

exception powershell stack-trace
Exception without stack trace in Java

This is probably a very naive question. I used to believe that a Throwable in Java always contains the stack …

java exception stack-trace