Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Cannot resolve method to any overloaded instance
@ 2008-04-15 11:44 Stefano Sabatini
  2008-04-15 15:00 ` Daniel Jacobowitz
  0 siblings, 1 reply; 2+ messages in thread
From: Stefano Sabatini @ 2008-04-15 11:44 UTC (permalink / raw)
  To: gdb Mailing List

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?

There is some option/trick I have to know in order to be able to call
the method from gdb?

My gdb version:
stefano@geppetto ~> gdb --version
GNU gdb 6.7.1-debian
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".

Many thanks in advance.
-- 
Stefano Sabatini
Linux user number 337176 (see http://counter.li.org)


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-04-15 13:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-15 11:44 Cannot resolve method to any overloaded instance Stefano Sabatini
2008-04-15 15:00 ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox