Is it possible to obtain line numbers in the stack trace of an exception

Is it possible for e.StackTrace in the following code to contain line numbers?
try
catch(Exception e)
LogStackTrace("Stack Trace:" + e.StackTrace);}
Hong

Thank you for your response.
The linked article is for Windows Phone and it points out "it's not possible to deploy the PDB alongside the EXE/DLL". Is this also the case for Windows Store app, or Windows Store app is different and it can be deployed with a .pdb file as you
pointed out?
The Windows Store app package is like the following:
My App_1.3.0.5_AnyCPU.appxupload
It is a zip file that contains the following two files:
My App_1.3.0.5_AnyCPU.appx
My App_1.3.0.5_AnyCPU.appxsym
Hong

Similar Messages

  • Is it possible to view line numbers in the search results in Dreamweaver CS5?

    Is it possible to view line numbers in the search results in Dreamweaver CS5?
    If so how do I switch it on.
    Thanks

    I don't think so. 
    Just double click on results in your Results Panel. 
    DW will open the page to that line of code.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/

  • How to get Line numbers in KVM stack traces

    Hello!
    I am fairly new to kvm programming and might have missed the obvious. When my program dumps a stack trace under kvm it gives me an offset (I dont know what the number corresponds to) from the method but not source line numbers like I am used to seeing under J2SE. I complie the code using -g and run it using kvm_g. For example, I see soemething like
    java.lang.NullPointerException
    at myclass.mymethod(+5)
    at parentclass.parentmethod(+10)
    Where I dont know what the +5 or +10 stand for as it relates to my source code.
    Can somebody help with trying to correlate the stack trace to my source code.
    Thanks.
    Ranga.

    I would like to know too. Has anyone found an answer?

  • Printing Line numbers while dumping stack trace during crash..

    Hi,
    I want to dump the stack trace of all threads with the line numbers when the program crashes. I am able to do that by cathing the signals and invoking "pstack" utility to dump the stack. But it does not dump the line numbers of each function. Is there some way of doing that?
    Thanks
    Atul

    If you run the executable under dbx then you can type 'where' when the program crashes or set a breakpoint in your signal handler. Line numbers will only show up in the dbx stack trace if the application was compiled with -g and not stripped.

  • Is there a way to add line numbers in the margin?

    Is there a way to automatically add line numbers in the margin of a document?

    Hi Brian,
    If you go with Peter's suggestion, there are some details that since I've got a minute here, I'll mention...
    Set your Line Spacing for the document text to "Exactly" before you begin adjusting your table, otherwise you will have registration problems.
    Your Table will have to be a Floating object. Otherwise you won't be able to slide it into the margin. And, speaking of the margin, stay out of the gray area with the numbers if you want to print them. The gray border around your document is the area that the printer driver says is non-printable.
    In the Table Inspector, set Columns to 1 and Rows to 20 or whatever you prefer for your document. Set the number of Header Rows to 0.
    To apply the numbering, use the Fill feature: Type 1 in the first cell, type 2 in the second cell. Select both cells. Grab the Fill Handle in the lower right corner of the selection and drag it down to add a series of numbers to the rest of the column. (Easier than typing.)
    Decide how you want to justify the numbering. The Text Inspector has both vertical and horizontal justification controls for this. Just select the entire table and make the settings.
    Set the cell height to match the text line spacing. You can get close with the table row height, and maybe closer with a minor line spacing adjustment. Don't expect perfection, but you can get pretty close.
    You probably don't want the cell borders to show, so with the entire table selected, go to the Graphic Inspector and set Stroke to None.
    Lastly, cause the table to appear on every page by doing: Format > Advanced > Move Object to Section Master.
    Regards,
    Jerry

  • Reg. Line Numbering to the whole activeDocument

    Hi All,
    I have gone through most of the sites to put line numbers to the whole activeDocument but I could find only applying the line numbers for first page.
    Anybody please help me out to add line numbers to the entire activeDocument with continuos number?
    Any help is greatly appreciated.
    ~Sathya Rani M

    Hi,
    Thank you for the script. This I have found earlier and this is showing demo.
    I need to add numbers continuosly without any text.
    Please advice.
    ~Sathya Rani M

  • Resolve line numbers from a stack dump

    I have an application with a mutex dead lock. This program is compiled with CC and the flag �g.
    With pstack(pid) I get a proper stack dump with symbol names and hex addresses.
    Is there any way to resolve those hex addresses to line numbers from the source file?
    GNU got a tool named addr2line which solve this problem, is there any corresponding tools for Solaris 10?

    Don't know about addr2line analogue (maybe you can build it on Solaris, too), but there's always an option to use dbx:
    - attach to the process with 'dbx - pid'
    - issue 'where' in dbx console

  • I scanned an image and want to use the image trace tool, but it doesn't pick up all the lines.  Is there a way to darken the lines before using the image trace tool?

    I scanned an image and want to use the image trace tool, but it doesn't pick up all the lines.  Is there a way to darken the lines before using the image trace tool?  Help!

    If the scan is in B&W, then play with the Threshold setting here
    If it's in Color, then you will have to open the scan in a Raster editing software (like Photoshop) and play with the Brightness/Contrast settings to make the lines bolder.

  • Is it possible to get the stack trace of procedure invocations in pld file?

    For example, if I have a package AAA in a pld file which has three procedure proc1, proc2, and proc3 defined. proc 3 will be invoked somewhere in proc2. proc2 will be invoked somewhere in proc1.
    Is it possible to print such stack trace in proc1? It will be very helpful if it is possible.

    See this post if you can figure out something out of it ....
    http://forum.java.sun.com/thread.jsp?forum=31&thread=391451

  • Is it possible to enter only numbers in the field

    Hi expers,
    I want that when my user is giving input in the empno field of my form in enter query mode , he or she will be able to enter only the number not anything other then number . is it possible via oracle forms 6i.
    If yes ,please let me know.
    and another thing is that how can i get this type of output.
    'abc','efg','kkk'
    declare
    cursor abc is select empname from emp;
    output varchar2(2000);
    begin
    for i in abc loop
    output := output ||'''||i.empname||'',';
    end loop;
    end;
    can you please say how can i disable the cotes (') the secode cotes because it is giving trouble in java in term of disableing we use / is there anything like that in oracle.
    Regards
    Rajat

    Hi aweiden
    Thanks for your answer the second question ,i want that in the output variable i want to store the name of the employee in this fashion.
    When i am givig dbms_output.put_line(output) the output should be like that.
    'Rajat','aweiden ','kumar','sachin'
    I am trying to append the name of the employee with the variable output.
    The cursor is fecting the name of one employee in each itaration.
    in the 1st itaration the value of output will be -'Rajat'
    in the 2nd itaration the value of output will be - 'Rajat','aweiden'
    and so on.
    But when i am trying to append the '(single cotes) before and after the name it is giving trouble.
    What i have done is;
    for i in abc loop
    output := output ||' ' '||i.empname||'',';
    end loop;
    but it is not working.
    can you tell me how can i get the deserve output.
    Regards
    Rajat

  • How to draw cumulative line graph over the stacked bar chart?(SSRS)

    Hello, 
    I need your help to draw a cumulative line graph over this bar chart. 
    I need your help to draw a cumulative line graph over this bar chart in SSRS.
    The dimension (Category Group) is "Hour" in this case. and expression is sum of two distinct values like 'Y' and 'N' in Activity column(Series Groups). The sum(Activity=Y) in green color and sum(Activity='N') in Red color.
    I require to draw a cumulative line graph in this same chart, that should give the result of cumulative Sum(Activity) for each hour?? I mean sum of (Y+N) for each hour and that should be cumulative over the hour.
    I mean sum of (Y+N) for each hour and that should be cumulative over the hour.
    SSRS Version details:
    Microsoft SQL Server Reporting Services Designers 
    Version 10.50.1600.1
    --Siva

    Hi Siva,
    It seems that you need to verify your email address to post images, etc
    Besides,  Microsoft® SQL Server™ 2008 Reporting Services: Step by Step is a good choice to you. With STEP BY STEP, you work at your own pace through hands-on, learn-by-doing exercises. A companion CD includes data sets and sample code. You can download
    it from this link http://my.safaribooksonline.com/9780735626041 Click the Extras, you can get the samples and database from Supplemental Content.
    And there are vast of valuable articles and SQL Server Reporting Services Books Online in MSDN ,you can click these link to begin your learning journey, SQL Server Reporting Services 2008 Books Online:
    http://msdn.microsoft.com/en-us/library/ms159106(v=SQL.100).aspx 
    Besides these, there are still many valuable videos in Microsoft Webcast, click this link
    https://msevents.microsoft.com/cui/SearchDisplay.aspx?culture=en-US#culture=en-US;eventType=0;sortKey=;sortOrder=;pageEvent=false;hdnInitialCount=;searchcontrol=yes;kwdAny=Reporting%20service to register with a windows live ID, then download the ones you
    want.
    Hope this helps.
    Regards,
    Charlie Liao
    TechNet Community Support

  • JSP stack trace line numbers?? used to be there?

    I could have swore that JDev RC showed line numbers in JSP
    stack traces?
    Anyway, they'd be great. How can the JIT/ojvm be configured to
    make them available to the actual .jsp line numbers.
    Thanks, curt

    The line numbers are there if you aren't using the jsp include tag:
    <%@ include file="some.jsp" %>
    Since this is a compile time include, I still feel that line numbers should be
    present in the stack trace... Well, I wish they were anyway.
    Thanks, curt Curt:
    This depends on which JVM you are using. For 9.0.2, I believe ojvm does not give line numbers. (I think we are changing to show line numbers for 9.0.3.) If you use hospot ('java -hotspot ...') you should see the line numbers.
    Thanks.
    Sung

  • Is it possible(lines numbering JTextArea)?

    is it possible to have the line numbers on the margin of the JTextArea? what i am looking for is something like what is in JCreator, and CuteHTML.
    sample code is appreciated

    Well two ways I can think of:
    1. Create a custom 'Document' class that inserts line numbers and keeps track of where they should be (in the beginning of each line) as editing is performed.
    This seems more cumber some.
    2. Create a container that is composite of JTextArea on the right, and a panel on the left that contains line numbers. As user scrolls, update the numbers in the panel on the left, making it look like it's part of the JTextArea.
    I am sure there are many more ways to do this.

  • How to print line numbers in NWDS for Java?

    Hi everyone,
    does someone know how to print out program code with line numbers from the Netweaver Developer Studio for Java? This is inevitable for code reviews.
    In Eclipse 3.4 this issue is solved. Is there possibly such a patch for NWDS as well?
    Thanks,
    Maria

    Hi Pascal,
    thanks for the quick reply. The setting you mention displays line numbers on the screen alright, but printing out does not work.
    We use: SAP NetWeaver Developer Studio for SAP NetWeaver 7.1 SP06 PAT0000, Build id: 200807051938.
    I guess it just does not work, because it was fixed only for Eclipse 3.4, and the above NWDS version bases on Eclipse 3.3.
    What do you recommend for code inspections - copy/paste into PSPad or do you know a more comfortable practice?
    Greetings
    Maria

  • Showing Line Numbers?

    Hi,
    I write news articles for peer review, and one of the main features that I need to display in my drafts are the line numbers for every line. I've tried to search around the pages help as well as these forums, but I'm not finding a solution as to how to display the line numbers in the document as well as on the printed page. Any help? Thanks...
    -Owen

    Hi OwenStratospherical,
    Welcome to Numbers discussions.
    There isn't any built-in way to have line numbers. One possible suggestion, not elegant, is to create a Text Box to the left of the page then using the number keypad enter line numbers in that Text Box. As I said it isn't elegant but, it does work for me when I need it.
    Yes line numbering would be a nice feature for sure.
    The folks on these forums, discussion boards, are end users as yourself not Apple employees. Accept my suggestion for you to please at the top of your screen to the right of the blue Apple click "Pages" > "Provide Pages Feedback". This makes your request known to the Pages team directly. I've sent many as well.
    Let's hope that the next version of Pages (iWork) will incorporate many of the requested enhancements.
    Thank you in advance for doing that.
    Sincerely,
    RicD

Maybe you are looking for

  • OSB secure-WS Business Service

    Hello, the target is using OSB 11.1.1.0 to call a secure WS and exposing it as clear WS Proxy. The requierements are summarized below. Can it be done with OSB, (if so, do we just need a custom policy file or additional configuration is needed), or do

  • How can I retrieve deleted Mail inbox mail messages and sent messages?

    I moved location and found (once again) that I could not send messages. In the past I have moved between Apple support and BT support to fix the problem. This time the BT IT technical support guy took over the screen, created a new account, made sure

  • Call drop while talking long distance and strange number in log

    Talking to relative in NY, call dropped with no dial tone after that.  Unplugged all phones, checked the connection box.  Dial tone came back after about 15 minutes.  Checking the digital phone log revealed that {edited for privacy}was listed as bein

  • Safari: picture issues(pixelated)/ Flash movies Flickers

    In Safari and sometimes in iTunes(rarely) pictures are presented/ rendered in low quality. You easily see grainy/ pixel noise following lines in the picture. It is not a problem in iPhoto were pictures are in excellent condition. Also when watching f

  • Sharepoint 2010 Marquee

    I added a scrolling announcement to my Sharepoint 2010 page and for the most part it does work but it gets choppy the slower I make the delay so that viewers can actually read what the announcement says.  Is there a way to make the scroll smoother? I