[mythtv] how to examine contents of m_recordingList

Chris Ribe chrisribe at gmail.com
Sat Dec 5 01:56:45 UTC 2009


I'm working on ticket number #7407, a network control playback bug, and I
think I've identified where everything starts to go wrong (in
PlaybackBox::processNetworkControlCommand), but I'm pretty new at this and I
have hit a roadblock.

I'm debugging mythfrontend using gdb, and I would like to examine the
contents of m_recordingList, but they are QVariants and I can't figure out
how to turn them back into ProgramInfo objects so I can query them for more
information.

The PlaybackBox::playSelected function uses this call to turn a QVariant
into A ProgramInfo:
qVariantValue<ProgramInfo *>(item->GetData())

gdb, however, doesn't seem to play nice with templates.

And suggestions on how to approach this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-dev/attachments/20091204/ff7dbb4d/attachment.htm>


More information about the mythtv-dev mailing list