Debugging macros

Started by
0 comments, last by Anon Mike 18 years, 8 months ago
Anybody know of a way to step through macro functions? I have to a crash somewhere in the midst of some big, deeply nested macros, and the VS.Net debugger can't seem to figure out which line is being executed. I tried running the preprocessor on the source file (cl.exe /P /EP /C ... ) and recompiling the program with that, but the debugger gets confused and I end up stepping through the wrong files...
Advertisement
Change the macros to inline functions if you can...

Otherwise step through the disassembly.
-Mike

This topic is closed to new replies.

Advertisement