Cannot resolve method to any overloaded instance

Daniel Jacobowitz drow@false.org
Tue Apr 15 15:00:00 GMT 2008


On Tue, Apr 15, 2008 at 10:46:14AM +0200, Stefano Sabatini wrote:
> Hi all,
> 
> I'm trying to debug a C++ application, and I need to invoke an
> AsString() method to see an human readable representation of an
> object, but I can't since I got:
> 
> (gdb) p msg.AsString()
> Cannot resolve method (null)AsString to any overloaded instance
> 
> I googled without too much luck, many occurrence but no explanation.
> Can you explain this message?

Is AsString inlined?  That often prevents function calling.

Can you provide a test case?

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb mailing list