Source Line Location Using Remote Stack Trace

Posted on 2010-01-06
Last Modified: 2012-05-08

Per the attached text I am looking for an explanation as to what the numbers mean after each line in the Stack Trace when an error occurs on a remote web server. My mainframe assembly knowledge tells me these might be byte offsets perhaps from the beginning of the class or module.

Is there a way to know what the source code line is using these numbers?

I do have debugging turned on. In my development environment the numbers after each line of the Stack Trace represent source code line numbers.

Much thanks for an assistance ... David
Question by:David Bach
    LVL 96

    Accepted Solution

    Those are IL (Intermediate Language) offset numbers, and you might be able to get the line numbers by looking at the IL code that is generated.  

    I believe that is more useful to look at the Patient_Refill.tbxPrescriptionNumber_TextChanged event handler for the exception cause.
    LVL 51

    Expert Comment

    just look at the top to get the most rlevant code for you which is

       Patient_Refill.tbxPrescriptionNumber_TextChanged(Object sender, EventArgs e) +744

    and line number is 744

    Author Closing Comment

    by:David Bach
    Greetings The Learned One;

    I do not know how to view the IL code. I will look for it and see what I make of it.

    Much thanks ... David

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    A basic question.. “What is the Garbage Collector?” The usual answer given back: “Garbage collector is a background thread run by the CLR for freeing up the memory space used by the objects which are no longer used by the program.” I wondered …
    Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    758 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now