diff --git a/UltiSnips/c.snippets b/UltiSnips/c.snippets index e3b2c03..465a79a 100644 --- a/UltiSnips/c.snippets +++ b/UltiSnips/c.snippets @@ -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