X-Git-Url: https://defaria.com/gitweb/?a=blobdiff_plain;f=functions%2Fdisplay;h=7fdcec83aecd8910f49182dbcc2e9d8b3b001613;hb=7ddf095f187ca60d9a70fb83b2bc3c2b6d91f088;hp=16c686429a96c5445531976e2a036f31c8a5d5a5;hpb=020a4a5ea2be725b155cae3a2cadc9aba3911b9b;p=clearscm.git diff --git a/functions/display b/functions/display index 16c6864..7fdcec8 100644 --- a/functions/display +++ b/functions/display @@ -56,3 +56,15 @@ function debug { display_stderr "$@" fi } # debug + +function traceEnter { + if [ ! -z "$trace" ]; then + display_stderr "ENTER function ${FUNCNAME[1]}" + fi +} # traceEnter + +function traceExit { + if [ ! -z "$trace" ]; then + display_stderr "EXIT function ${FUNCNAME[1]}" + fi +} # traceExit \ No newline at end of file