Esempio n. 1
0
        private void HandleBreak(AphidExpression expression)
        {
            Program.Log("Execution break on {0}", expression.ToString());
            Stopped();
            Program.Log("Stopped on {0}", expression.ToString());

            SendEvent(
                new StoppedEvent(
                    _threadId,
                    "breakpoint",
                    expression.ToString()));

            _resumeEvent.Set();
        }
Esempio n. 2
0
 private static void AppendCode(StringBuilder sb, AphidExpression expression) =>
 sb.AppendFormat(" '{0}'", expression.ToString().Trim());