Skip to content

enthus1ast/nimDbg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

nimDbg

"dbg" template; in debug echo

template dbg*(args: varargs[untyped]) =
  ##like `debugEcho` but removed when compiled with -d:release
  when not defined release: debugEcho args

decho echos lineinfo, your statement and statements value

decho("foo" & "baa" & $123)
# >>> /home/david/nimDbg/dbg.nim(25, 22): "foo" & "baa" & $123 => foobaa123

About

"dbg" template; in debug echo

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages