Is it possible to view the values of primitives in a memory dump. For example, view the charaters in a char array, the value of an integer member and so on.
I did not find this from the documentation, but it would be very useful sometimes. If it is not possible to day, is that something you vould concider adding in a future release?
Object Introspection
-
- Posts: 1626
- Joined: Tue Aug 10, 2004 7:52 pm
No, it's not possible and we are not planning to implement this in the future. The reason is that snapshot file with these promitive values consumes _huge_ amount of memory (much more than initial profiled application). Instead primitives, you can introspect Strings. There is an action "Find | String by pattern" which helps to find particular string. As iour experience shows, strings are enogh to identify objects.Is it possible to view the values of primitives in a memory dump.
-
- Posts: 1
- Joined: Thu Oct 28, 2004 2:42 pm
Since you do keep track of String objects it would be nice to see contents of a member once you navigate to it.Vladimir Kondratyev wrote:No, it's not possible and we are not planning to implement this in the future. The reason is that snapshot file with these promitive values consumes _huge_ amount of memory (much more than initial profiled application). Instead primitives, you can introspect Strings. There is an action "Find | String by pattern" which helps to find particular string. As iour experience shows, strings are enogh to identify objects.Is it possible to view the values of primitives in a memory dump.
So, for example if I select TextImpl object from xerces and navigate
down to the String data member it would be nice to see the String
values there.
Artur....
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am