diff --git a/PROMS/Volian.Print.Library/vlnParagraph.cs b/PROMS/Volian.Print.Library/vlnParagraph.cs index b2dd509f..f4e49980 100644 --- a/PROMS/Volian.Print.Library/vlnParagraph.cs +++ b/PROMS/Volian.Print.Library/vlnParagraph.cs @@ -984,9 +984,12 @@ namespace Volian.Print.Library { get { - if (!Rtf2Pdf.PdfDebug) return "No Path"; - return string.Format("DebugID = {0}, ID={1} Type={2} TypeName='{3}' StepLevel={4} ShortPath={5} Width={6} Left={7}", + if (!Rtf2Pdf.PdfDebug) return "No Path"; + int profileDepth = ProfileTimer.Push(">>>> vlnParagraph.DebugInfo"); + string retval = string.Format("DebugID = {0}, ID={1} Type={2} TypeName='{3}' StepLevel={4} ShortPath={5} Width={6} Left={7}", DebugId, MyItemInfo.ItemID, MyItemInfo.FormatStepType, MyItemInfo.FormatStepData == null ? "NoStepData" : MyItemInfo.FormatStepData.Type, MyItemInfo.StepLevel, MyItemInfo.ShortPath, Width, XOffset); + ProfileTimer.Pop(profileDepth); + return retval; } } private void ResetDocStyleAndValues(ref float yTopMargin, ref float yBottomMargin)