Professional Web Applications Themes

How to to display globals in gdb/xcode? - Mac Programming

For whatever I try, I can't see global variables in gdb under xcode. Surely, there must be a way, but I don't seem able to find it.. TIA for any help, Hans Otto...

  1. #1

    Default How to to display globals in gdb/xcode?

    For whatever I try, I can't see global variables in gdb under xcode. Surely,
    there must be a way, but I don't seem able to find it..

    TIA for any help, Hans Otto

    Hans Guest

  2. #2

    Default Re: How to to display globals in gdb/xcode?

    On Tue, 20 Apr 2004, Hans Otto Trutmann wrote:
     

    I don't think there's a way to get at them in the GUI. I always access
    these things from the command line. Type "p variable" to get its raw
    value, and "po variable" to print a description of an ObjC object.
    Michael Guest

  3. #3

    Default Re: How to to display globals in gdb/xcode?

    In xCode: "expressions" (according to the doentation) but it work 10 %
    of time only...

    Use "show console" in debug menu and "print variable"


    In article <BCAAE85A.C66%ee.ethz.ch>, Hans Otto Trutmann
    <ee.ethz.ch> wrote:
     
    Alain Guest

Similar Threads

  1. C++/Xcode
    By dfrank in forum Mac Programming
    Replies: 7
    Last Post: February 17th, 05:00 AM
  2. Replies: 0
    Last Post: October 2nd, 10:52 PM
  3. #25708 [WFx]: extract($GLOBALS, EXTR_REFS); can corrupt the $GLOBALS array.
    By cdragon at draconic dot com in forum PHP Development
    Replies: 0
    Last Post: October 1st, 01:39 AM
  4. Replies: 0
    Last Post: October 1st, 12:59 AM
  5. #25708 [NEW]: extract($GLOBALS, EXTR_REFS); can corrupt the $GLOBALS array.
    By cdragon at draconic dot com in forum PHP Development
    Replies: 0
    Last Post: September 30th, 10:25 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139