Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are those + signs at the end of each stack trace line?

I was wondering: When looking at an ASP.NET error page with a stack trace you can see a + sign and a number at the end of each line.

For example: alt text http://employees.claritycon.com/spoov/SharepointDebuggingwithWSSV3_100BD/NiceStackTrace.jpg

Also in the trace pasted in this question: Server Error in '/' Application

The numbers are not the line numbers in the source files, so I suspect them to be something like stack (or parameter) sizes.

like image 351
thijs Avatar asked Apr 01 '09 09:04

thijs


People also ask

How do you read a stack trace?

To read this stack trace, start at the top with the Exception's type - ArithmeticException and message The denominator must not be zero . This gives an idea of what went wrong, but to discover what code caused the Exception, skip down the stack trace looking for something in the package com.

What does stack trace represent?

In computing, a stack trace (also called stack backtrace or stack traceback) is a report of the active stack frames at a certain point in time during the execution of a program. When a program is run, memory is often dynamically allocated in two places; the stack and the heap.

What is a stack trace error?

Stack trace error is a generic term frequently associated with long error messages. The stack trace information identifies where in the program the error occurs and is helpful to programmers. For users, the long stack track information may not be very useful for troubleshooting web errors.

What is stack trace in Java with example?

A Java stack trace is displayed when an error or exception occurs. The stack trace, also called a backtrace, consists of a collection of stack records, which store an application's movement during its execution.


1 Answers

  • If it's in the release mode, it's CIL offset for that function in the DLL.
  • If it's in debug mode, it's the line number in the source.
like image 98
vartec Avatar answered Nov 08 '22 01:11

vartec