VCDebugSettings.DebuggerType 속성

관리 또는 비관리 코드에 대한 디버거 설정을 가져오거나 설정합니다.

네임스페이스:  Microsoft.VisualStudio.VCProjectEngine
어셈블리:  Microsoft.VisualStudio.VCProjectEngine(Microsoft.VisualStudio.VCProjectEngine.dll)

구문

‘선언
Property DebuggerType As TypeOfDebugger
TypeOfDebugger DebuggerType { get; set; }
property TypeOfDebugger DebuggerType {
    TypeOfDebugger get ();
    void set (TypeOfDebugger value);
}
abstract DebuggerType : TypeOfDebugger with get, set
function get DebuggerType () : TypeOfDebugger 
function set DebuggerType (value : TypeOfDebugger)

속성 값

형식: Microsoft.VisualStudio.VCProjectEngine.TypeOfDebugger
TypeOfDebugger 열거형입니다.

설명

디버깅하고 있는 코드와 일치하지 않는 디버거 형식을 지정하는 경우, 특정 섹션의 코드를 한 단계씩 실행할 수 없습니다. 예를 들어 관리되는 디버거를 지정하면 비관리 코드를 한 단계씩 실행할 수 없습니다. 사용 하는 TypeOfDebugger 열거형이이 속성의 값을 변경할 수 있습니다. 참고 방법: 프로젝트 모델 확장성에 대한 예제 코드 컴파일 컴파일 및이 예제를 실행 하는 방법에 대 한 내용은.

예제

[Visual Basic]

다음 예제에서는 수정 된 DebuggerType 통합된 개발 환경 (IDE)에서 속성:

' add reference to Microsoft.VisualStudio.VCProjectEngine
Imports EnvDTE
Imports Microsoft.VisualStudio.VCProjectEngine

Public Module Module1
    Sub Test()
        Dim mystring As String
        Dim prj As VCProject
        Dim cfgs, tools As IVCCollection
        Dim cfg As VCConfiguration
        Dim tool As VCDebugSettings
        prj = DTE.Solution.Projects.Item(1).Object
        cfgs = prj.Configurations
        cfg = cfgs.Item(1)
        tool = cfg.DebugSettings
        tool.DebuggerType = TypeOfDebugger.DbgMixed
    End Sub
End Module

.NET Framework 보안

참고 항목

참조

VCDebugSettings 인터페이스

Microsoft.VisualStudio.VCProjectEngine 네임스페이스