Original Post
I'm using C++ and am working on a debugging add-on for my program. I have an object, that has an object, that has a couple of classes, that has ... and I need a way to show these things in the debugger in realtime. I was wondering if maybe there was some macro trickery I could utilise; something like: #define TRIFUNCT(x, i, y) ((x->triData.y)) ... char* data = "parentFace"; for(...) int value = TRIFUNCT(obj, i, data); if I wanted to display all of obj->triData.parentFace. I know this won't work, but maybe something like it. Either that or a something similar to how in Visual Studio when you type something in, it brings it up. I'm quite sure how to turn inputted text into a function call.