How to view global vars in debugger

I have a C array outside a function and now I can see the values of the array in the debugger window. I have the array outside the function because I need it to be global.
When I click the globals triangle it brings up a global browser with many different items in it but I don't see my array?
Thanks

Ok. I put my var in main but that didn't help.
I noticed my path string on the bottom of the global brower is very different from yours?
mine is:
/Users/user/Library/Application Support/iPhone Simulator/User/Applications/(a bunch of hex chars/My Button Fun.app/My Button Fun
I'm wondering if this is a clue why it's not working?
My actual path where my project is:
/user/xxx/xxx/xxx
I wasn't able to provide a visual snapshot. I guess I never added a pic on this board before.
Thanks

Similar Messages

  • How to debug global vars ??

    I have a problem with the tcode iw32. sometimes the dates are not updated by the system if the main date is changed in a operation.
    this happens with 1 out of 10.000 orders but the impact on the process is very frustrating since it's hardly noticed in time
    now I have a serviceorder where the corresponding date FSAVD is not changed after changing NTANF.
    I thought I had debugged to a point that I thought the function was were the dates were changed unfornatunatly I noticed that somewhere in the programm the global table AFVG_BT is filled. but I can't find where this table is updated in the programm SAPLCOIH  ???
    anybody knows how to find the source of the changes ??
    kind regards
    arthur de smidt

    but it's not an update on a database table but on a global var. in st05 the runtime analysys you only see the database acces so I can't find how and when AFVG_BT is updated ?
    also under se30 I can find a function which I already found before only then the global var is already updated by the system . I want to know when this global var is updated and what rules have been passed before this update took place
    kind regards
    arthur de smidt

  • How to view C/C++   pointer as an array in Xcode GUI debugger?

    How to view C/C++ pointer as an array in Xcode GUI debugger?

    A similar question was asked recently regarding strings. You cannot pass pointers in LabVIEW as you do in C. You can pass an array to a DLL, but that means you would need to write a wrapper DLL. Be sure to read the section in the LabVIEW Help on calling code from text-based languages and also take a look at the "Call DLL" example that ships with LabVIEW  - it contains many examples of how to deal with various datatypes.

  • How to view list buffer in new debugger?

    Hi there,
    Any body knows how to view the list buffer generated so far while debugging in new debugger.It says, after first write statement a new button appears in tool bar.I couldn't find it.Please help.
    regards

    HI,
    The option Goto -> Status Display - > Display List (or Ctrl+F12) allow you to see the output so far written to the sysout in the Old Debugger.
    if you are using the new debugger the only work around that I have found is to switch to the old debugger
    ( Debugger -> Switch to classic debugger)
    You can then use CTRL+F12 to see the list output. Then you can switch back to the new debugger.
    According to my thought this facility seems absent in new debugger.
    Regards

  • How to collect returns from recursive function calls without a global var?

    Usually global variables shouldnt be used, I was told. Ok. But:
    How can I avoid using a global var when recursively using a function, when the function returns an object and when I want to have the collection of all these objects as the result?
    For example, I think of determine the users of a group including group nesting. I would write a function that adds the direct group members to a collection as a global var and call itself recusively if a member is another group. This recursively called function
    would do as well: Update the global var and if needed call itself.
    I'm afraid this is no good programming style. What algorithm would be better, prettier? Please dont focus on the example, it is a more general question of how to do.
    Thanks
    Walter

    I rarely needed to create/use recursive functions. Here's one example I did:
    function New-SBSeed {
    <#
    .Synopsis
    Function to create files for disk performance testing. Files will have random numbers as content.
    File name will have 'Seed' prefix and .txt extension.
    .Description
    Function will start with the smallest seed file of 10KB, and end with the Seed file specified in the -SeedSize parameter.
    Function will create seed files in order of magnitude starting with 10KB and ending with 'SeedSize'.
    Files will be created in the current folder.
    .Parameter SeedSize
    Size of the largest seed file generated. Accepted values are:
    10KB
    100KB
    1MB
    10MB
    100MB
    1GB
    10GB
    100GB
    1TB
    .Example
    New-SBSeed -SeedSize 10MB -Verbose
    This example creates seed files starting from the smallest seed 10KB to the seed size specified in the -SeedSize parameter 10MB.
    To see the output you can type in:
    Get-ChildItem -Path .\ -Filter *Seed*
    Sample output:
    Mode LastWriteTime Length Name
    -a--- 8/6/2014 8:26 AM 102544 Seed100KB.txt
    -a--- 8/6/2014 8:26 AM 10254 Seed10KB.txt
    -a--- 8/6/2014 8:39 AM 10254444 Seed10MB.txt
    -a--- 8/6/2014 8:26 AM 1025444 Seed1MB.txt
    .Link
    https://superwidgets.wordpress.com/category/powershell/
    .Notes
    Function by Sam Boutros
    v1.0 - 08/01/2014
    #>
    [CmdletBinding(SupportsShouldProcess=$true,ConfirmImpact='Low')]
    Param(
    [Parameter(Mandatory=$true,
    ValueFromPipeLine=$true,
    ValueFromPipeLineByPropertyName=$true,
    Position=0)]
    [Alias('Seed')]
    [ValidateSet(10KB,100KB,1MB,10MB,100MB,1GB,10GB,100GB,1TB)]
    [Int64]$SeedSize
    $Acceptable = @(10KB,100KB,1MB,10MB,100MB,1GB,10GB,100GB,1TB)
    $Strings = @("10KB","100KB","1MB","10MB","100MB","1GB","10GB","100GB","1TB")
    for ($i=0; $i -lt $Acceptable.Count; $i++) {
    if ($SeedSize -eq $Acceptable[$i]) { $Seed = $i }
    $SeedName = "Seed" + $Strings[$Seed] + ".txt"
    if ($Acceptable[$Seed] -eq 10KB) { # Smallest seed starts from scratch
    $Duration = Measure-Command {
    do {Get-Random -Minimum 100000000 -Maximum 999999999 |
    out-file -Filepath $SeedName -append} while ((Get-Item $SeedName).length -lt $Acceptable[$Seed])
    } else { # Each subsequent seed depends on the prior one
    $PriorSeed = "Seed" + $Strings[$Seed-1] + ".txt"
    if ( -not (Test-Path $PriorSeed)) { New-SBSeed $Acceptable[$Seed-1] } # Recursive function :)
    $Duration = Measure-Command {
    $command = @'
    cmd.exe /C copy $PriorSeed+$PriorSeed+$PriorSeed+$PriorSeed+$PriorSeed+$PriorSeed+$PriorSeed+$PriorSeed+$PriorSeed+$PriorSeed $SeedName /y
    Invoke-Expression -Command:$command
    Get-Random -Minimum 100000000 -Maximum 999999999 | out-file -Filepath $SeedName -append
    Write-Verbose ("Created " + $Strings[$Seed] + " seed $SeedName file in " + $Duration.TotalSeconds + " seconds")
    This is part of the SBTools module and is used by the
    Test-SBDisk function. 
    Example use:
    New-SBSeed 10GB -Verbose
    Test-SBDisk is a multi-threaded function that puts IO load on target disk subsystem and can be used to simulate workloads from multiple machines hitting the same SAN at the same time, and measure disk IO and performance.
    Sam Boutros, Senior Consultant, Software Logic, KOP, PA http://superwidgets.wordpress.com (Please take a moment to Vote as Helpful and/or Mark as Answer, where applicable) _________________________________________________________________________________
    Powershell: Learn it before it's an emergency http://technet.microsoft.com/en-us/scriptcenter/powershell.aspx http://technet.microsoft.com/en-us/scriptcenter/dd793612.aspx

  • How to view DB schema in SAP B1 company

    Hi,
    Would you please tell me how to view Company database schema.
    When I use Database browser It gives Exception as
    "B1DBBrowser ERROR: The Type initializer for 'B1wizard.Globals'" threw an Exception.
    Thank you
    Buddhika

    Hi ArshDeep,
    I want to update PaymentReference field in a Document object.
    I was able to get the required Document to update but it returns Error code.I can see the existing PaymentReference value, but can not be set. But it is Property with read-write.
    Currently I'm doing is,
    Create Document object.
    Initiate it with oInvoice object type
    if(oDocument.getByKey(docID))
         oDucument.PaymentReference = MyCustomID;
         int iErr = oDucument.Update();
    oDocument properties matches with the required document implying the correct document is in the oDocument object.
    But this returns errors.
    Would please give me a Solution.
    Buddhika.

  • How to view node failover logs

    Hello,
    I have a two node 3.2 cluster. Due to some reason the active node fail over to standby node. Please let me know how to view the time and the reason of fail over in a log file? I checked /var/log/cluster but could not get this info.

    Hi,
    as I said before, nearly all problems with SC can be analyzed using the messages in /var/adm/messages. There are additional SC specific log files in /var/cluster/logs, most notably the commandlog, that tells you which user issued what cluster command. And there are dataservices specific logs in the DS subdirectory. This is sufficient. I do not think that having access to the eventlog will help you any further. I have never used it so far and I am a heavy SC user for 10 years :-)
    Regards
    Hartmut

  • Global Var in Bp

    Hi Masters,
    How can we create Global Var in BP?
    I tested Co-relation, but could not get any easy way to use the concept of Global Var in BP.
    I want to check that how many times my BP has been triggered?

    All the variables are essentially global to the process. Creating a new variable of type xfaForm will do what you ask. If you add an Assign Task, there is a properties section for Form Data Mappings. If you set the input and output to the xfaFrom variable, then any changes made are applied to that variable. You can modify values with a Set Value step using xpath. It is best when you create the form, that you associate a schema with it. Having a schema associated with it with allow you to expand down to any element in the form/variable in the XPath Builder.

  • Global vars in as3

    Hi all,
    I'm sure this is easy, but I can't seem to find out how to do this. I need to create a global var in AS3 so that I can create the var on the main timeline and change it within another movie clip. Thanks for the help in advance.

    If you design your program correctly there is rarely a need for global variables. That said, the easiest thing is to just make the variable a public member of the document class. Then any objects in the program can access this variable using "parent.myVar", etc. I generally like to pass the main DisplayObject in as a parameter of any instantiated class. That way I don't have to use "parent.parent" or any confusing syntax. You could also use "this.root" but I try to avoid that at all costs.

  • How to view disk space information

    How to view disk space information in CLI

    Perhaps you can share the output for the command ipcheck.
    You should get an output like:
    esalab.cisco.com> ipcheck
      Ipcheck Rev           1
      Date                  Mon Jun 18 10:43:20 2012
      Model                 C150
      Platform               (8066)
      MGA Version           Version: 7.5.2-014
      Build Date            2012-03-06
      Install Date          2012-05-03 08:36:10
      Burn-in Date          Unknown
      Serial No.            001D09F09F6B-7xxxxx1
      BIOS Version          A02I
      RAID Version          02
      RAID Status           READY
      RAID Type             1
      RAID Chunk            Unknown
      BMC Version           1.70
      Disk 0               
      Disk 1               
      Disk 2               
      Disk 3               
      Disk 4                233GB Seagate ST3250620NS 3BKH at ata2-master SATA300
      Disk 5               
      Disk 6                233GB Seagate ST3250620NS 3BKH at ata3-master SATA300
      Disk 7               
      Disk Total            466GB
      Root                  400MB 43%
      Nextroot              400MB 42%
      Var                   400MB 0%
      Log                   54GB 16%
      DB                    2GB 0%
      Swap                  6GB
      Mail Queue            10GB
      RAM 1 A               512M ECC 667MHz
      RAM 1 B               512M ECC 667MHz
      RAM 2 A               512M ECC 667MHz
      RAM 2 B               512M ECC 667MHz
      RAM Total             2G
      CPU 1                 D 2G 800FSB 0.5M Cache
      PCI 1                 PCI-X 64-bit Empty
      PCI 2                 PCI-e 8x Empty
      NIC Data 1            00:xx:xx:xx:xx:6b, NetXtreme Gigabit Ethernet PCI Express (BCM5721)
      NIC Data 2            00:xx:xx:xx:xx:6c, NetXtreme Gigabit Ethernet PCI Express (BCM5721)
      PS1                   Unknown
      PS2                   Unknown
      Key                   1da, IronPort Anti-Spam
      Key                   1da, Receiving
      Key                   expire, Bounce Verification
      Key                   expire, Central Mgmt
      Key                   expire, Intelligent Multi-Scan
      Key                   expire, IronPort Email Encryption
      Key                   expire, IronPort Image Analysis
      Key                   expire, McAfee
      Key                   expire, Outbreak Filters
      Key                   expire, RSA Email Data Loss Prevention
      Key                   expire, Sophos
    esalab.cisco.com>

  • How to view local videos on iOS mobile device

    How do I view local videos on my iOS device running an Adobe Air app? I know how to view the CameraRoll for iOS in Flex on Adobe Air, but the CameraRoll class only brings up photos, no videos.  When I use:
    if (CameraRoll.supportsBrowseForImage) {
                                                      var roll:CameraRoll = new CameraRoll();
                                                      roll.browseForImage();
                                            } else {
      trace("Camera Browsing not available");
    The cameraRoll instance that is brought up only shows photos, no videos.  Any ideas?

    +1  I need this as well.
    It looks like it's simply not available in CameraRoll - is support planned?  What are other possibilities - File?  Navtive extension?
    Would AIR even be able to play typical phone video formats?  From a quick search, it seems that the iPhone captures h.264 in a mov container, while at least one Android phone captures MPEG-4 in a 3gp container.  I'll try transferring such videos to my computer and embedding them in a test app just to see if they play.
    Thanks for any insight!
    ETA: The docs for NetStream list h.264 and 3gp as supported formats.  From my testing, however, NetStream does play the iPhone .mov file, but does not play the Android .3gp file.  A Loader plays neither.

  • *** Urgent - How to view Cursor output in TOAD ***

    Hi,
    I know how to view the output of a sysref cursor that is an out parameter from an SP, in SQL*PLUS
    But is there a way to see the resultset of a cursor in TOAD?
    This is urgent.
    Thanks for the helping hands.
    Sun

    TOADs SQL Editor works (almost) the same as SQL*Plus.
    You can work with VAR's and PRINT's in the very same way as SQL*Plus.
    Furthermore you can do the following:
    - Write an SQL statement with a bound cursor (with colons)
    - right-click in TAODs Editor
    - check for SQL Substitution variables.
    - run the script (F9) and a substition pop up »pops up«, from where you can choose CURSOR.
    The results will show up in the Data grid.
    Note: I am working with TOAD ver. 9

  • How to view the Syslog Application logs in CLI

    On CallManager 6.1.x, how do we view the Application Logs in the Syslog Viewer using the CLI?  I know how to view the traces but not the Application or System logs in CLI.  My RTMT to a customer is being blocked so I need to use the CLI.  Thanks.

    Event Viewer-Application Log = /var/log/active/syslog/CiscoSyslog.*
    Event Viewer-System Log = /var/log/active/syslog/messages.*
    From CLI:
    To list application logs:
    file list activelog syslog/CiscoSyslog.* date detail
    To list system logs:
    file list activelog syslog/messages.* date detail
    To view a specific application log:
    file view activelog syslog/CiscoSyslog.1
    To view a specific system log:
    file view activelog syslog/messages.1
    http://htluo.blogspot.com
    Michael

  • How to write global functions?

    Hi,
    I have some functionality in my app that I feel will be used
    in multiple places. Typically in HTML/Javascript I could do:
    <script type="Javascript"
    src="js/functions.js"></script>
    In the functions.js file I could have various functions and
    call them from any display page.
    How can I have a set of functions like this in
    Flex/ActionScript? For example I have a couple of places where a
    user can "Add an Employee" for example. I'd like to call the same
    function.
    How can I globally include some functions so they can be
    called from anywhere in my application.
    -Westside

    2 things:
    instead of doing
    <mx:Script>
    <![CDATA[
    functions here...
    ]]>
    </mx:Script>
    make a new actionscript file, code.as or whatever you want to
    call it.
    then you can do <mx:Script source="code.as"/> and put
    your actionscript code inside the file like you would inside of
    CDATA.
    also, SharedObjects are useful for sharing variables between
    different mxml files.
    they go something like this:
    public var sharedVariables:SharedObject =
    SharedObject.getLocal("variables");
    (this will need to be decalred in each script)
    to set or retrieve a value you do this:
    sharedVariables.data.myVariable = new String();
    sharedVariables.data.myVariable = 'string here';
    on a further note: SharedObjects are written to the local
    file system, the user's/client's file system, useful if you need to
    store keep settings for a user or something like that. Also,
    getLocal will create the file if it doesn't exsist already, if it
    does.. it just reads it. Read the docs on SharedObject.
    you will probably find those 2 things useful if you dont
    already know about them.

  • How do I globally set in and out points on a large number of images?

    As the post asks: How do I globally set in and out points on a large number of images before sending to the timeline? In AVID I can do this in the Script view. How do I do it in FCP?
    Thanks in advance

    Thanks. I assumed I needed to set in and out points. I have not done an image sequence in FCP. If I have a 10 second image and a 2 second transition, but then change the duration of the transition to say 4 seconds then FCP will let me alter the transition duration?
    With regards to movie clips, what happens with setting global in and out points? How would I do that?
    Thanks in advance

Maybe you are looking for

  • Grey line and box won't go away

    When I expand the content width of each page, the content space expands, but a gray line is left vertically down the entire length of the page where it previously ended. Also, there's a gray box at the bottom. I can't get rid of either of these...any

  • Empty iviews in MSS ERP 2005

    Hi, We've installed the above business package.  When we click through the iviews, a lot of them are coming up empty.  For example the following iviews under Overview -> Team -> Employee Information are empty: 1) General Information 2) Compensation I

  • Upload an XML file

    hi all     i want to know can we upload XML  file using bdc can i do it if yes how to do it. thanks & regard kiran.

  • Quality Slider in LR3

    I have LR3 and am unable to use the Quality slider when exporting. It is not highlighted and is fixed at a number that is lower than I want.

  • After Mavericks, mouse-zoom won't work.

    I installed Mavericks last night as a way of fixing a Safari problem. I have become accustomed to using the [control] key on my keyboard while swiping vertically on my mouse to quickly zoom in on my screen - until now.  The zoom feature isn't working