Top "Stack-trace" questions

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

C++ figure out if the debugger is attached

I use stackwalk64 to generate stacktraces for C++ in visual studio 2008 using the latest symchk.exe and dbghlp.dll. This …

c++ debugging deadlock stack-trace
Print the name of the calling function to the debug log

Objective-C's runtime seems to be rather robust, so I was wondering if there's a way to log the name of …

objective-c debugging stack-trace
What does $$ and <generated> means in java stacktrace?

Many times I get stacktraces like this one (please see the arrow for the confusing line): org.springframework.dao.DataIntegrityViolationException: …

java spring stack-trace cglib
PHP - Log stacktrace for warnings?

Is it possible to log stacktraces for php warnings? Or catch a warning and error_log() it? There's some code …

php warnings stack-trace error-log
Do not show file paths of build machine in stack trace

I am currently developing a C# application which has got it's own logging. When exceptions are thrown, the exception is …

c# exception stack-trace debug-symbols
log errors with stack trace in javascript

I'm trying to log javascript errors on a productive site. So far it worked quite well with the following code …

javascript jquery error-handling stack-trace onerror
Why does the Stack Trace shows my development files path?

Visual Studio 2010 SP1, compiled WCF app, put it on a server, and of course it got an error on the …

c# visual-studio-2010 debugging c#-4.0 stack-trace
When will proper stack traces be provided on window.onError function?

Exceptions/Errors in many other programming languages (say java, ruby) always provide stacktrace/backtrace information. In JavaScript unhandled Errors get …

javascript error-handling stack-trace
How can I invoke buffer overflow?

I got a homework assignment asking me to invoke a function without explicitly calling it, using buffer overflow. The code …

c pointers stack-trace buffer-overflow fortify-source