Skip to content

unable to call functions #14

@marksilverman

Description

@marksilverman

I'm very excited about duel (I remember using the non-python version back in the 90's). I wonder if it's possible to call functions the same way that the print command does. Currently:
(gdb) dl head-->next->getKey()
Value is not callable (not TYPE_CODE_FUNC).
(gdb) p head->next->getKey()
$68 = "foobar"
At my company we often have containers filled with pointers to a base classes. I'd like to call a virtual function to get more info about the object. I could do it in two steps (get the address in duel and call the function manually) but that won't work in a loop.
Thanks!

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions