모델 컨텍스트 바인딩 디버그

org.eclipse.debug.ui.debugModelContextBindings

3.0

이 확장점에서는 지정된 디버그 모델과 연관되어야 하는 컨텍스트를 지정하는 메커니즘을 제공합니다. 디버그 보기는 이러한 바인딩을 사용하여 컨텍스트를 자동으로 사용 가능하게 합니다. IDebugModelProvider 어댑터 또는 지정된 디버그 모델 ID가 있는 스택 프레임을 제공하는 디버그 보기의 요소가 선택될 때 지정된 ID가 있는 컨텍스트는 사용 가능합니다.

<!ELEMENT extension (modelContextBinding*)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT modelContextBinding EMPTY>

<!ATTLIST modelContextBinding

debugModelId CDATA #REQUIRED

contextId    CDATA #REQUIRED>


다음은 모델 컨텍스트 바인딩 디버그 컨트리뷰션에 관한 예제입니다.

<extension point=

"org.eclipse.debug.ui.debugModelContextBindings"

>

<modelContextBinding contextId=

"com.example.myLanguage.debugging"

debugModelId=

"com.example.myLanguageDebugModel"

>

</modelContextBinding>

</extension>

위의 예제에서 "com.example.myLanguageDebugModel"의 디버그 모델 ID가 있는 스택 프레임이 선택될 때 "com.example.myLanguage.debugging" ID가 있는 컨텍스트는 사용 가능합니다.