how to see STL vector element value in Forte Workshop debugger?

Ask a Question related to UNIX Programming, Design and Development.

  1. #1

    Default how to see STL vector element value in Forte Workshop debugger?

    Hi,
    I am using Forte Workshop 6.0, in its debugger I can not see the
    value of any STL container element. For example, I have a vector
    variable, when I point to it, all I see is a list of element class
    type and the class allocator, there are some addresses in it, but I do
    not think they are the addresses of the elements. I tried casting the
    addresses, like this, (My_Class)0x100000, I was prompted "can not see
    the class type".
    I wonder if there is some way to see the user defined class type
    object value in a vector in Forte Workshop.

    Thanks.
    bill Guest

  2. Similar Questions and Discussions

    1. how the vector is created, how to pass vector to webservices method apachesoap:Vector
      Below is input parameter of my Web Services method vectorTest - <wsdl:message name="vectorTestRequest"> <wsdl:part name="userName"...
    2. [HTML::Element] how to read element by element
      Hello I read the doc about HTML::Element, but I don't find how to read the tree create by parse() element by element. The doc says the tree looks...
    3. Filemaker Pro - HTML - Forte interactions
      Mac OSX - Safari - SQL - Forte - Troi URL - FMP6 I eventually need our FMP solution to interact with a SQL database that, apparently, i wont be...
    4. Workshop Debugger without CDE?
      I'm having a strange problem running Sun's Workshop 4.0 debugger on Solaris 2.5.1. When I try to attach a process, I get an "internal error core...
    5. Workshop (Forte 6.2) problem
      I've completed my first project using workshop. I was able to sign into it during the project and a bit after deploment. Now, I'm experience two...
  3. #2

    Default Re: how to see STL vector element value in Forte Workshop debugger?

    [email]clinton__bill@hotmail.com[/email] (bill) writes:
    > I am using Forte Workshop 6.0, in its debugger I can not see the
    > value of any STL container element. For example, I have a vector
    > variable, when I point to it, all I see is a list of element class
    > type and the class allocator, there are some addresses in it, but I
    > do not think they are the addresses of the elements. I tried casting
    > the addresses, like this, (My_Class)0x100000, I was prompted "can
    > not see the class type". I wonder if there is some way to see the
    > user defined class type object value in a vector in Forte Workshop.
    Probably, but I'm not familiar enough with that debugger to be able to
    explain it. However, the Solaris dbx manual is available at
    docs.sun.com

    [url]http://docs.sun.com/db/coll/36.7[/url]

    Someone in comp.unix.solaris might be able to give you better advice.

    Joe
    joe@invalid.address Guest

  4. #3

    Default how to see STL vector element value in Forte Workshop debugger?

    I am using Forte Workshop 6.0, in its debugger I can not see the value
    of any STL container element. For example, I have a vector variable,
    when I point to it, all I see is a list of element class type and the
    class allocator, there are some addresses in it, but I do not think
    they are the addresses of the elements. I tried casting the addresses,
    like this, (My_Class)0x100000, I was prompted "can not see the class
    type". I wonder if there is some way to see the
    user defined class type object value in a vector in Forte Workshop.
    bill Guest

Posting Permissions

  • You may not post new threads
  • You may 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