Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #44583 > unrolled thread
| Started by | dieter <dieter@handshake.de> |
|---|---|
| First post | 2013-05-01 10:33 +0200 |
| Last post | 2013-05-01 10:33 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Finding referents with Gdb dieter <dieter@handshake.de> - 2013-05-01 10:33 +0200
| From | dieter <dieter@handshake.de> |
|---|---|
| Date | 2013-05-01 10:33 +0200 |
| Subject | Re: Finding referents with Gdb |
| Message-ID | <mailman.1210.1367397212.3114.python-list@python.org> |
Dave Butler <daveb@tanagerproductions.com> writes: > with gdb, can you find referents of an object given an object id? Usually no. "gdb" is a C level debugger. If debugging information is available (and the type of an object know), "gdb" can show you the fields of an object. If you know the correct type, you can cast an object to this type and get the field information. Thus, "gdb" gives you a possibility to examine the objects, a given object refers to. However, in general, there is no data structure (in a C program) that provides access to the objects that refer to a given object. In such cases, "gdb" cannot help you to find those objects.
Back to top | Article view | comp.lang.python
csiph-web