/
EvilBeaver
/
OneScript
Обзор
Документация
Войти
/
EvilBeaver
/
OneScript
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
develop
src/ScriptEngine/Machine/Debugger/DisabledDebugger.cs
27 строк
842 B
EvilBeaver
Фикс тестов
12 ноя 2025, 22:29
12 ноя 2025, 22:29
f181da8
Код
Авторство
О чём код?
/*---------------------------------------------------------- This Source Code Form is subject to the terms of the Mozilla Public License, v.2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. ----------------------------------------------------------*/ namespace ScriptEngine.Machine.Debugger { /// <summary> /// Отладчик, который ничего не делает. Заглушка для выключенного отладчика. /// </summary> public class DisabledDebugger : IDebugger { public bool IsEnabled => false; public void Start() { } public IDebugSession GetSession() => new DisabledDebugSession(); public void NotifyProcessExit(int exitCode) { } } }