Add fprintf debug snippet for C/C++ files

This commit is contained in:
Kenneth Benzie 2017-09-29 14:40:19 +01:00
parent 2dea77ba81
commit 0f852b0518

View File

@ -169,3 +169,7 @@ endsnippet
snippet copydoc "Doxygen copydoc block"
/// @copydoc $0
endsnippet
snippet debug "Debug fprintf"
fprintf(stderr, "%s: %d: %s\n", __FILE__, __LINE__, __PRETTY_FUNCTION__);
endsnippet