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: Cannot resolve method to any overloaded instance


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


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