2021-09-20 18:20:01 +02:00

81 lines
2.4 KiB
C#

/*
Copyright (C) 2014-2019 de4dot@gmail.com
This file is part of dnSpy
dnSpy is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
dnSpy is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with dnSpy. If not, see <http://www.gnu.org/licenses/>.
*/
namespace dnSpy.Contracts.Debugger.Breakpoints.Modules {
/// <summary>
/// Module breakpoint
/// </summary>
public abstract class DbgModuleBreakpoint : DbgObject {
/// <summary>
/// Gets the unique module breakpoint id
/// </summary>
public abstract int Id { get; }
/// <summary>
/// Gets/sets the current settings
/// </summary>
public abstract DbgModuleBreakpointSettings Settings { get; set; }
/// <summary>
/// true if the breakpoint is enabled
/// </summary>
public abstract bool IsEnabled { get; set; }
/// <summary>
/// Name of module (case insensitive) or null/empty string if any name. Wildcards can be used
/// </summary>
public abstract string? ModuleName { get; set; }
/// <summary>
/// true if dynamic, false if not dynamic, and null if any value
/// </summary>
public abstract bool? IsDynamic { get; set; }
/// <summary>
/// true if in-memory, false if not in-memory, and null if any value
/// </summary>
public abstract bool? IsInMemory { get; set; }
/// <summary>
/// true if it was loaded, false if it was unloaded, and null if any value
/// </summary>
public abstract bool? IsLoaded { get; set; }
/// <summary>
/// Order or null if any value
/// </summary>
public abstract int? Order { get; set; }
/// <summary>
/// App domain name (case insensitive) or null/empty string if any name. Wildcards can be used
/// </summary>
public abstract string? AppDomainName { get; set; }
/// <summary>
/// Process name (case insensitive) or null/empty string if any name. Wildcards can be used
/// </summary>
public abstract string? ProcessName { get; set; }
/// <summary>
/// Removes this breakpoint from the module breakpoints list
/// </summary>
public abstract void Remove();
}
}