[mythtv] Dump stack
johnnyjboss at gmail.com
Tue Jul 6 13:53:24 UTC 2010
On Sun, Jul 4, 2010 at 7:31 PM, Jean-Yves Avenard <jyavenard at gmail.com> wrote:
> On 4 July 2010 23:09, James Courtier-Dutton <james.dutton at gmail.com> wrote:
>> I am trying to find out what called a function.
>> Does the myth source code have the equivalent of "dump_stack()".
>> It would be useful to narrow down which instance called a particular
>> instance of a method.
>> I.e. I have places a log statement. (VERBOSE ....) in the code.
>> If that log statement is in method X.
>> I would like to find out which method Y called the method that
>> contains the log statement.
> If you use gdb and put a breakpoint to that particular function, you
> can check the call stack there and see the arguments passed to each
> function in the stack
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
Basic how to on the gdb with mythtv is located here -
More information about the mythtv-dev