Lines Matching refs:cFrames
840 def logXcptWorker(iLevel, fIncErrors, sPrefix="", sText=None, cFrames=1):
868 if cFrames is not None and cFrames <= 1:
872 asInfo = asInfo + traceback.format_tb(oTraceback, cFrames);
874 asInfo = asInfo + traceback.format_stack(oTraceback.tb_frame.f_back, cFrames);
992 def logXcpt(sText=None, cFrames=1):
997 return logXcptWorker(1, False, "", sText, cFrames);
1009 def log2Xcpt(sText=None, cFrames=1):
1014 return logXcptWorker(2, False, "", sText, cFrames);
1022 def maybeErrXcpt(fIsError, sText=None, cFrames=1):
1025 return errorXcpt(sText, cFrames);
1026 return logXcpt(sText, cFrames);
1034 def maybeLogXcpt(fIsNotError, sText=None, cFrames=1):
1037 return errorXcpt(sText, cFrames);
1038 return logXcpt(sText, cFrames);
1058 def errorXcpt(sText=None, cFrames=1):
1061 the exception information. cFrames can be used to display more stack.
1068 logXcptWorker(0, True, "error: ", sText, cFrames);
1107 def fatalXcpt(sText=None, cFrames=1):
1110 preceed the exception information. cFrames can be used to display more
1118 logXcptWorker(1, True, "fatal error: ", sText, cFrames);
1305 def logAllStacks(cFrames = None):
1320 asInfo = traceback.format_stack(oStack, cFrames);