I'm working on a debugging/logging program and was wondering if it would be possible to create a macro that I can paste inside each function and it will print the function name and parameter values each time the function's called. Function name can be resovled at compile time, the problem is figuring out how to print parameter values?
UPDATE: I remember reading an article to get parameters but that invovled assembly code and working manipulating stack pointers, which is not cross-platform compatible - something that I need.