Format of Variables Change When Debugging

When debugging in LabWindows, the format of the variables (decimal, hex, ASCII, etc.) is always set to the default under certain circumstances.  For example if you step into a function, change format of a variable, step out then back in, the format has been reset to the default.  There are other instances when you run, stop, rebuild and debug where this is done also.
I've asked NI to explain why the variable format can't be retained, at least within one debug session (until exiting LabWindows).  The explanation is they use a stack-based system to store this information so it is lost during debug.
I find this to be an extreme annoyance and an enormous waste of time.  For example, I deal with a lot of arrays of binary data.  Seeing these array values in ASCII is of no value.  So I'm nearly constantly setting the format back to hex during debugging.
I'm curious whether anyone else thinks this is a problem.  NI knows about this, but it's unlikely they'll do anything unless there is a lot of feedback from us users on the value of fixing this.  Post a note and let me (and NI) know what you think, whether you think this is important or not.
Thanks,
Dave

Hi Chris,
Yes, using Format >> Preferences is exactly what I was talking about when I said "change the format of a variable".  Thanks for giving the exact details of doing this.
I'm still using v8.1.  I'm leery of renewing my service contract because I don't feel NI is listening to me (as a customer, not just a LabWindows user) regarding the issues that affect my work and ways to greatly improve my productivity.  I have been suggesting this for a few years now, to no avail, both with tech support on the phone and through your product suggestion center.
I can't explain all the intricacies of the issue.  Maybe what you have to do is set breakpoints and run rather than step in and out.  Here's what an engineer in NI's R&D center said:
It's not actually rebuilding the project that causes the information to be lost. It's actually even worse than that. As variables come in and out of scope, the formatting and the expand/collapse state of each variable is lost. So, if you've hit a breakpoint in a function and re-formatted a local variable, and then continue debugging outside the function, eventually stepping back into the function, the formatting for the original variable is reset when the item is created anew in the variable display, based on the data type of the variable.
The problem we have is that the formatting information is stored in stack-based memory which is associated with the actual items that you see in the variable display. As these items disappear and are re-created in the variable display, the formatting information is reset.
The complexity of representing variable scope information, including arbitrary block scopes, makes it pretty hard to maintain variable information in global, non-stack-based memory. It's obviously not impossible, but unfortunately it would require a fundamental redesign of our debugging paradigm.
Finally, we have heard this request from multiple customers, and I assure you that you are not the only customer who has asked for this feature.  The problem with this feature, as with many other feature requests is one of trade-off. It is obviously impossible to accept all the feedback that we receive, and so we are constantly having to weigh development costs of a particular feature, the risks involved in implementing it, and how widespread its benefits are.  So far, this feature has not made the cut. However, this does not mean that we're ignoring it, or any other customer feedback. Many customer-requested features have made it into previous releases, and we're confident that this will too, in the not too distant future. As a matter of fact, we can honestly say that most new features in a given CVI release originate with customer requests. I also just want to re-emphasize that each time you reiterate how important a given feature is, it drives up its priority and makes it more likely that we will implement it sooner, rather than later. With that in mind, we definitely welcome your suggestion to post a note about this request in the forum. We expect other people to second the request, and the more people that do that, the better.
So my question wasn't posted for NI to respond.  It was to find out if anybody else using LabWindows finds this issue to be detrimental to productivity.
Thanks,
Dave

Similar Messages

  • Date format is not changing when I switch language (From English To French)

    Hi Guys,
      In our portal (NW04-EP6) application when I switch English to French,date format doesn't changed?
    Do you kow how can I fix it?
    Thanks,
    Maryam

    Hi Maryam,
    The langauage is set according to this priority:
    1) Language assigned to the user (in the portal)
    2) Browser's Language
    3) System's language
    4) JVM's Language
    Check your settings.
    Omri

  • Empty variable pane when debugging

    I'm fairly new to flex builder and very new with the
    debugger. For some reason when I am debugging my application my
    variables pane is coming up empty, no variables at all listed. Does
    anyone have any idea what might cause this? My console is updating
    working correctly. Its making life dificult as you may imagine.
    Thanks
    Adam

    No. The local variables 'used' to show up during debugging. But erratically it doesn't show up local variable values. I had to restart my machine couple of times whenever this happens, inorder to see the local variable values. But this time even restarting doesn't help.
    Is there any preference setup that need to be turned on/off to see local variables?
    Also I can't step into a static method now. Any idea why this happens?

  • Unable to see local variable values when debugging java

    Hi,
    I am using JDev 10.1.2 with java version 1.4.2_04.
    I have been using JDev to debug my java programs. But suddenly from this morning I am unable to see local variable values. I am able to see class and instance variables. This has happened to me before and I had restarted my machine couple of time, to get this sorted. But this time, nothing helps. Going thru the forum I found out that Include Debug information (Project Properties -> Compiler Option) need to be turned ON. It is already turned ON for me.
    I would greatly appreciate if you could let me know how to crack this problem.
    Thanks in advance.

    No. The local variables 'used' to show up during debugging. But erratically it doesn't show up local variable values. I had to restart my machine couple of times whenever this happens, inorder to see the local variable values. But this time even restarting doesn't help.
    Is there any preference setup that need to be turned on/off to see local variables?
    Also I can't step into a static method now. Any idea why this happens?

  • The numbering format keeps changing when making PDF's from Word 2007 ? Using Acrobat 9 Pro Extended

    The numbering in (Contents) format keeps changing when making PDF's from Word 2007 ? Using Acrobat 9 Pro Extended.

    The issue is that I have made up a contract in Word.
    The second page has a list of all contents of the contract.
    gghhjhhbhbhhbhbjbhj....1
    bv v vghvjvjnnnnnnnnn....2
    When we convert to PDF some of the numbers change. Example 20 becomes 201.
    Your help is appreciated.
    Cheers Ocean designs.

  • Change Formatting of Footnote Indicator when Exporting EPUB, how? CS6

    Hi,
    Well, it's all quite impressive so far. CS6 ePub capabilities are miles
    ahead of CS4, my last version, that's for sure.
    One thing I'm stuck on, though, is how to change the formatting of
    footnote indicators when exporting an ePub from InDesign.
    No matter what I do, when the ePub is viewed in ADE, the footnote
    indicator in the text comes out in blue, raised, and underlined. Also,
    it screws up the leading of the paragraph line it's on -- because the
    digit is raised, there line spacing above that line becomes bigger.
    I've tried applying a charater style in InDesign to footnote indicators,
    and I've played around with the settings in Document Footnote Option,
    but no joy so far. It's always raised, blue, and underlined.
    Anyone know how contorl the footnote indicator formatting in an exported
    ePub without opening up the ePub in an external editor?
    Thanks,
    Ariel

    Sigil is good to start with. As you grow more confident in editing e-pubs, you might want to ditch it though (it has its own personal set of annoying features).
    Superscripts are prone to mess up paragraph spacing in HTML, and with everything said and done, that's just what an e-pub is. Nothing you can do inside InDesign, it takes raw CSS editing to "fix" it (meaning, to make it less conspicuous than the downright stupid default handling!).
    But the blue-and-underlining bit is nothing you can fix -- for a real web page you can, but iBooks, for instance, INSISTS on having hyperlinks formatted that way, whether you like it or not.

  • Refresh FR report when Substitution Variable change

    Hi All,
    Is there any way to refresh FR report which are opened through smart view/ workspace when the Substitution Variable changed. Like if my report opened for the Year = Curryear and now curryear value is FY14 if I changed curryear as FY15 will it reflect on my FR report that already opened.
    Regards,
    Pradipta

    For sure it won't be updated automatically if the report is open. Did you try changing it and then see what happens?
    You'll have to refresh the report for the subvar to show up on the report.
    P.S remember to stop and start your Essbase application after the subvar change
    Regards
    Celvin Kattookaran

  • Format Changes when Exporting to PDF

    I'm using Crystal 12.0 and have an issue very similar to these threads listed below. 
    While viewing a report on my development machine, all is fine.  I can export to PDF and the formatting is OK. 
    However, when the report is exported to PDF on the web server, the spacing between some of the text is off.  The spacing is used for a CrossTab cell in a "Display String" that I changed using "Format Field."   All that's supposed to happen here is several spaces are used to move the text under the proper column. 
    When exporting to PDF on the web, the text moves over to the left like it's missing some of the spaces.  I wondering if the below threads apply to Crystal 12.0. 
    Thread:1220516 and
    Format Changes when Exporting to PDF
    Thanks kindly for your assistance,
    -Marty

    I'm having a very similar problem using Crystal Reports for Visual Studio 2008. Everything is perfect when running in VS 2008, it takes the report and exports it to PDF format via VB code. The PDF file is idenitcal to the report. However, when run on the server the one page report (when exported to PDF) gets chopped into ten 4x4 chunks. So the PDF file is 10 pages....its like puzzle pieces of the original.
    I've drawn a bunch of lines on the report to look like boxes - perhaps this is causing issues? The font on the report is Arial.
    The server has the 10_5 runtime installed and it is set to the same default printer as the development PC. I have been stuck on this for days and would really appreciate any advice you may have.
    Thanks!
    Edited by: WanderingEye on Sep 18, 2009 4:54 PM

  • How is the resolution variable or when would we change the resolution of an image and why?

    How is the resolution variable or when would we change the resolution of an image
    and why?

    It all depends on the output:
    * for viewing on screen 90 -120 ppi
    * for printing on a laser printer 180  -300 ppi
    * for printing on a desktop printer 240 - 300 ppi
    Some people claim 360 ppi is optimum but I don't see any difference compaired to 300 ppi at least not with the naked eye...

  • JDev903 debugger doesn't display local variable when debugging into JDK src

    Hi,
    I found that JDev903 debugger doesn't display local variables in the "smart data" and "data" panels when debugging into the JDK src. For most of the time, it only shows "this" object.
    Is this right? How do I setup JDev903 to display local variables in debugger?
    thanks,
    Richard

    Hi Fred,
    Did you forget to put resultFormat="e4x"?

  • Writing an ActionListener that responds when a variable changes

    I am interested in writing an ActionListener that monitors the value of a variable. When the value of that variable changes, I want the ActionLiastener to kick in and change what is displayed in a JLabel on the display. Note that there is no user interaction throughout this process.
    Has anyone done this before or have any insight? I assume that ActionListeners are the way to go, but in case they are not, is there another way?
    Thanks!

    ActionListeners, by their very nature, listen for user actions; if there is no user interaction, they won't do anything. When you update the variable, why not just update the JLable too? Just make sure you do it on the Event thread (might need to use SwingUtilities.invokeLater()) and you might need to explicitly tell it to repaint itself. Hope this helps.
    Jamie

  • Rules applied to multiple cells trigger color changes when any of the cells

    "Rules applied to multiple cells trigger color changes when any of the cells meet the rule’s condition." That's what Help says, but when I follow the directions, it doesn't work. This is in Numbers 08.
    I have a table where the contents of one column are either "YES" or "NO", depending on formulas using variables from other cells. If YES, I want the fill of that cell and that of two adjacent cells to change from white to green. I select all three cells and use conditional format rules for "text contains:" YES, then choose my fill color. When I return to the table and introduce values for the variables that trigger the rule, only the cell in the YES/NO column changes to green; the other two remain white.
    While I am spreadsheet challenged, I usually can follow directions as plain as those in Help, but it's not working. I couldn't find anything in the discussions after an hour of searching. Is this a known problem or am I just stupid?

    For what it's worth, that's the way I read that line in the User Guide as well. What it actually appears to mean, though is 'Rules applied to multiple cells apply independently to each of the cells."
    Here's a workaround for your three adjacent columns. Long, but fairly simple steps.
    Add a second table to the sheet (Table 2).
    Resize the second table to one column wide and as many rows as you want to apply the conditional format to.
    Set the width of the column to the same width as the three columns you want to highlight, and the row height(s) to match the rows.
    Format to table to have NO Header or Footer row or column.
    Use the Wrap Inspector to uncheck "Object causes wrap"
    In the first top cell of Table 2, enter an = sign, then Click on Table 1 in the sidebar, Click on the first cell that will hold YES or NO.
    Fill the formula down the rest of Table 2.
    With all cells in Table 2 selected, use the Cell Format inspector to set the 'text contains yes' rule and the conditional fill colour for these cells.
    Test the conditional formating by introducing values into Table 1.
    Click on Table 1 in the sidebar, then use the Table inspector to set Cell Fill to 'none'.
    Click on Table 2 in the sidebar, then drag that table onto table 1 aligning it to cover the cells in which the conditional formating is to appear.
    When positioned (and still selected), go to the Arrange menu and Send Backward to move Table 2 behind the (transparent) cells in Table 1.
    With Table 2 still selected, click on the Cell Borders color well and set the Opacity of the borders to 0%.
    Click the Text inspector and set the Text colour Opacity for Table 2 to 0%.
    Regards,
    Barry

  • Reload a method during a variable change

    I want to run a method when a variable changes.. Some sort of
    listener on the variable.. Something like that.. Is it possible?
    Any ideas?

    One way to do this is to use a setter function. to the
    outside, it looks just like a variable, but is really a function in
    which you can do whatever you want. It has a special format:
    [Bindable]private var _sMyString:String;
    public function set myString(sValue:String):void {
    _sMyString = sValue; //normal variable stuff
    //now do whatever special processing you need to do.
    Use this property like this
    myString = "someValue";
    or:
    this.myString = "someValue";
    or
    myClass.myString = "someValue";
    You can also look into changeWatcher()
    Tracy

  • ANY SY-INDEX REFLECT CHANGES WHEN CONTROL BREAK STATEMENT PROCESS

    Dear Guru's,
                     I have a requirement where i have to move the values to variable when control break (AT END OF) process. So i want to move the values according to the end of Vendor so for that  i want to know is there any sy-index available which reflects changes when Control break (AT end of) process.
    LIKE Sy-subrc = 0 when select statement fetches record or sy-tabix is like counter for loop.
    Hope to get reply soon.
    Regards,
    Himanshu Rangappa

    Hi,
    There is no system Fields for it.
    But your requirement can be done with 'AT NEW' and 'AT END' statement.
    Refer this sample example,
    loop at otab.
        at new module.
          move otab-module to otab2-module.
        ENDAT.
          at END OF effort.
          sum.               "Do your calculations here
          move otab-count to otab2-count.
          append otab2.
        endat.
      endloop.

  • How to inspect a cursor variable in a debug session?

    In a function inside the body of a package I do...
    Example:
    V_SITUACIONESACTYHIST C_SITUACIONESACTYHIST%ROWTYPE;
    BEGIN
    FOR v_SituacionesACTyHIST IN c_SituacionesACTyHIST( p_id_DECE400, p_idpers )
    LOOP
    IF ( V_SITUACIONESACTYHIST.ESTADO_SITUACION = 'S' ) THEN
    v_hay_regs_hist:=1;
    END IF;
    END LOOP;
    where the cursor variable c_SituacionesACTyHIST is declared in the specifications package (Is this the problem, because is a global declaration?).
    When debugging I cannot inspect the value of V_SITUACIONESACTYHIST.ESTADO_SITUACION or whatever cursor variable field; I always obtain "NULL" as value...
    Why?
    How can I see the value of that variables?
    I have the same problem in v2.1 and 1.5.5 version of sqldeveloper.
    Thanks.
    Edited by: pacoKAS on 11-feb-2010 0:14
    Edited by: pacoKAS on 11-feb-2010 0:17
    Edited by: pacoKAS on 11-feb-2010 0:17
    Edited by: pacoKAS on 11-feb-2010 0:19
    Edited by: pacoKAS on 11-feb-2010 0:21
    Edited by: pacoKAS on 11-feb-2010 0:22
    Edited by: pacoKAS on 11-feb-2010 0:22

    I'm proposing that you don't have a variable named the same as your cursor variable.
    CREATE OR REPLACE
    PROCEDURE P1
    AS
      CURSOR test_cur
      IS
        SELECT owner, table_name FROM all_tables WHERE ROWNUM <= 10;
      --  x test_cur%rowtype;  /* This variable is not needed. */
    BEGIN
      FOR x IN test_cur  /* If you don't have another variable named x somewhere, you can see values for x */
      LOOP
        dbms_output.put_line(x.owner || '.' || x.table_name);
      END LOOP;
    END P1;from your example...
    V_SITUACIONESACTYHIST C_SITUACIONESACTYHIST%ROWTYPE;
    BEGIN
    FOR v_SituacionesACTyHIST IN c_SituacionesACTyHIST( p_id_DECE400, p_idpers )
    LOOP
    IF ( V_SITUACIONESACTYHIST.ESTADO_SITUACION = 'S' ) THEN
    v_hay_regs_hist:=1;
    END IF;
    END LOOP;You're declaring your variable twice:
    (1) V_SITUACIONESACTYHIST C_SITUACIONESACTYHIST%ROWTYPE;
    (2) FOR v_SituacionesACTyHIST IN c_SituacionesACTyHIST
    When you're debugging, it's looking at the first version...which is null because you haven't assigned anything to it. When you use a Cursor For-Loop like that, it implicitly declares the variable for you. You don't have to do it in your DECLARE section.
    Edited by: DylanB123 on Feb 16, 2010 1:04 PM

Maybe you are looking for