55a4ec02创建于 2022年9月15日历史提交
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

using System;

namespace ArduinoCsCompiler.Runtime
{
    [ArduinoReplacement(typeof(System.Diagnostics.Debugger), true)]
    internal class MiniDebugger
    {
        public static bool IsAttached
        {
            get
            {
                return false;
            }
        }

        public static void NotifyOfCrossThreadDependency()
        {
        }

        public static void Break()
        {
            throw new NotSupportedException("Debug.Break was called");
        }
    }
}