e***@gmail.com
2006-05-17 13:58:28 UTC
Hi,
I wrote a function that can be called from the watch window in the
debugger, I use this function to convert my (complicated) class to a
string:
--- cpp file ---
char *toString(MyClass *) { ... }
--- watch window ---
toString(myClassInstance)
This works well, but when I call this function with a derived class as
parameter, then I get the error
'cannot set up function evaluation'. This sometimes crashes my debugee
process and sometimes cause my function to stop working for the rest of
the debug session.
Does anybody have more info about this error message, and what I can do
to avoid it?
Thanks,
eli
I wrote a function that can be called from the watch window in the
debugger, I use this function to convert my (complicated) class to a
string:
--- cpp file ---
char *toString(MyClass *) { ... }
--- watch window ---
toString(myClassInstance)
This works well, but when I call this function with a derived class as
parameter, then I get the error
'cannot set up function evaluation'. This sometimes crashes my debugee
process and sometimes cause my function to stop working for the rest of
the debug session.
Does anybody have more info about this error message, and what I can do
to avoid it?
Thanks,
eli