No matter how proficient you are, I think, you might still use one of the primary methods of debugging: trace values using printf
, TRACE
, outputDebugString
, etc… and then scan the output while debugging.
Adding information about the line number and the file where the log message comes from is a very efficient method that might save you a lot of time. In this post, I’ll describe one trick that is especially useful in Visual Studio but might also help in other IDE/compilers.
from DZone.com Feed http://bit.ly/2VF2fgW
No comments:
Post a Comment