Beispiel #1
0
 protected static void ReturnVoidMethodDump(bool breakExecution = true)
 {
     if (IsMethodDumpTraceActive)
     {
         Tracer.IndentEnd();
         Tracer.Line(Tracer.MethodHeader(stackFrameDepth: 1) + "[returns]");
         if (breakExecution)
         {
             Tracer.TraceBreak();
         }
     }
 }
Beispiel #2
0
 protected static T ReturnMethodDump <T>(T rv, bool breakExecution = true)
 {
     if (IsMethodDumpTraceActive)
     {
         Tracer.IndentEnd();
         Tracer.Line(Tracer.MethodHeader(stackFrameDepth: 1) + "[returns] " + Tracer.Dump(rv));
         if (breakExecution)
         {
             Tracer.TraceBreak();
         }
     }
     return(rv);
 }