This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Execute code in python pretty printers


>>>>> "Niko" == Niko Sams <niko.sams@gmail.com> writes:

Niko> For QModelIndex I'd like to show the parent QModelIndex as
Niko> child.

This reads very strangely :)

Niko> So to find out the parent the method has to be executed.
Niko> Is this possible?

No, we have not implemented inferior function calls on Value yet.

Note that even when it does work, it is not the friendliest thing to
do.  Doing this prevents your pretty-printers from working with core
files.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]