Skip to content

번역

이 페이지를 번역하거나 기존 번역을 개선할 수 있습니다.

기여

STRUCT

SchemeDiagnosticsOptions

Contents

  • Properties
    • addressSanitizerEnabled
    • detectStackUseAfterReturnEnabled
    • threadSanitizerEnabled
    • mainThreadCheckerEnabled
    • performanceAntipatternCheckerEnabled
  • Methods
    • options(addressSanitizerEnabled:detectStackUseAfterReturnEnabled:threadSanitizerEnabled:mainThreadCheckerEnabled:performanceAntipatternCheckerEnabled:)
swift
public struct SchemeDiagnosticsOptions: Equatable, Codable, Sendable

Options to configure scheme diagnostics for run and test actions.

Properties

addressSanitizerEnabled

swift
public var addressSanitizerEnabled: Bool

Enable the address sanitizer

detectStackUseAfterReturnEnabled

swift
public var detectStackUseAfterReturnEnabled: Bool

Enable the detect use of stack after return of address sanitizer

threadSanitizerEnabled

swift
public var threadSanitizerEnabled: Bool

Enable the thread sanitizer

mainThreadCheckerEnabled

swift
public var mainThreadCheckerEnabled: Bool

Enable the main thread cheker

performanceAntipatternCheckerEnabled

swift
public var performanceAntipatternCheckerEnabled: Bool

Enable thread performance checker

Methods

options(addressSanitizerEnabled:detectStackUseAfterReturnEnabled:threadSanitizerEnabled:mainThreadCheckerEnabled:performanceAntipatternCheckerEnabled:)

swift
public static func options(
    addressSanitizerEnabled: Bool = false,
    detectStackUseAfterReturnEnabled: Bool = false,
    threadSanitizerEnabled: Bool = false,
    mainThreadCheckerEnabled: Bool = true,
    performanceAntipatternCheckerEnabled: Bool = true
) -> SchemeDiagnosticsOptions

Released under the MIT License.