I\'ve got a pretty complicated macro inside my (unmanaged) C++ code. Is there any way to expand macros in VS debugger? Or maybe there is another way to debug macros there?
Yes, you can.
Locate the preprocessed file generated by the preprocessor in the Debug folder.
So if your macro is written in testing.c file, the preprocessed file would be called testing.i
There you can see how the macro have been expanded.
To debug it, just copy paste this code to yours :)