Beispiel #1
0
        string GetStack(ParsingScript script = null)
        {
            if (script == null)
            {
                script = m_steppingIns.Count > 0 ? m_steppingIns.Peek().m_debugging : m_debugging;
            }
            string stack = script.GetStack();

            return(stack.Trim());
        }
Beispiel #2
0
 public ParsingException(string message, ParsingScript script, Exception inner)
     : base(message, inner)
 {
     ExceptionScript = script;
     ExceptionStack  = script.GetStack(-1);
 }