This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Cannot resolve method to any overloaded instance
- From: Stefano Sabatini <stefano dot sabatini-lala at poste dot it>
- To: gdb Mailing List <gdb at sources dot redhat dot com>
- Date: Tue, 15 Apr 2008 10:46:14 +0200
- Subject: Cannot resolve method to any overloaded instance
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)