Debugging macros
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...
Change the macros to inline functions if you can...
Otherwise step through the disassembly.
Otherwise step through the disassembly.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement