Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DebugEditorModel

Hierarchy

  • DebugEditorModel

Implements

  • Disposable

Index

Constructors

constructor

Properties

Protected breakpointDecorations

breakpointDecorations: string[] = []

Protected breakpointRanges

breakpointRanges: Map<string, Range> = ...

Readonly breakpointWidget

breakpointWidget: DebugBreakpointWidget

Readonly breakpoints

breakpoints: BreakpointManager

Readonly configurationService

configurationService: IConfigurationService

Readonly contextMenu

contextMenu: ContextMenuRenderer

Protected currentBreakpointDecorations

currentBreakpointDecorations: string[] = []

Readonly editor

editor: MonacoEditor

Protected editorDecorations

editorDecorations: string[] = []

Readonly exceptionWidget

exceptionWidget: DebugExceptionWidget

Protected hintDecorations

hintDecorations: string[] = []

Readonly hover

Readonly inlineValueDecorator

inlineValueDecorator: DebugInlineValueDecorator

Readonly sessions

Protected Readonly toDispose

toDispose: DisposableCollection = ...

Protected Readonly toDisposeOnUpdate

toDisposeOnUpdate: DisposableCollection = ...

Protected topFrameRange

topFrameRange: undefined | Range

Protected Readonly update

update: (...arguments: []) => Promise<void> = ...

Type declaration

    • (...arguments: []): Promise<void>
    • Parameters

      • Rest ...arguments: []

      Returns Promise<void>

Protected updatingDecorations

updatingDecorations: boolean = false

Protected uri

uri: default

Static BREAKPOINT_HINT_DECORATION

BREAKPOINT_HINT_DECORATION: IModelDecorationOptions = ...

Static CONTEXT_MENU

CONTEXT_MENU: MenuPath = ...

Static FOCUSED_STACK_FRAME_DECORATION

FOCUSED_STACK_FRAME_DECORATION: IModelDecorationOptions = ...

Static FOCUSED_STACK_FRAME_MARGIN

FOCUSED_STACK_FRAME_MARGIN: IModelDecorationOptions = ...

Static STICKINESS

STICKINESS: TrackedRangeStickiness = ...

Static TOP_STACK_FRAME_DECORATION

TOP_STACK_FRAME_DECORATION: IModelDecorationOptions = ...

Static TOP_STACK_FRAME_INLINE_DECORATION

TOP_STACK_FRAME_INLINE_DECORATION: IModelDecorationOptions = ...

Static TOP_STACK_FRAME_MARGIN

TOP_STACK_FRAME_MARGIN: IModelDecorationOptions = ...

Accessors

position

  • get position(): Position

Methods

acceptBreakpoint

  • acceptBreakpoint(): void

Protected addBreakpoint

  • addBreakpoint(raw: SourceBreakpoint): void

addInlineBreakpoint

  • addInlineBreakpoint(): void

Protected areBreakpointsAffected

  • areBreakpointsAffected(): boolean

Protected createBreakpointDecoration

  • createBreakpointDecoration(breakpoint: SourceBreakpoint): IModelDeltaDecoration

Protected createBreakpointDecorations

  • createBreakpointDecorations(): IModelDeltaDecoration[]

Protected createBreakpoints

Protected createCurrentBreakpointDecoration

Protected createCurrentBreakpointDecorations

  • createCurrentBreakpointDecorations(): IModelDeltaDecoration[]

Protected createFrameDecorations

  • createFrameDecorations(): IModelDeltaDecoration[]

Protected createHintDecorations

  • createHintDecorations(event: IEditorMouseEvent): IModelDeltaDecoration[]

Protected createInlineValueDecorations

  • createInlineValueDecorations(): Promise<IDecorationOptions[]>

Protected deltaDecorations

  • deltaDecorations(oldDecorations: string[], newDecorations: IModelDeltaDecoration[]): string[]

Protected deltaHintDecorations

  • deltaHintDecorations(hintDecorations: IModelDeltaDecoration[]): void

dispose

  • dispose(): void

getBreakpoint

getInlineBreakpoint

Protected getLineBreakpoints

Protected handleMouseDown

  • handleMouseDown(event: IEditorMouseEvent): void

Protected handleMouseLeave

  • handleMouseLeave(event: IPartialEditorMouseEvent): void

Protected handleMouseMove

  • handleMouseMove(event: IEditorMouseEvent): void

Protected hideHover

  • hideHover(__namedParameters: IPartialEditorMouseEvent): void

Protected hintBreakpoint

  • hintBreakpoint(event: IEditorMouseEvent): void

Protected init

  • init(): void

render

  • render(): void

Protected renderBreakpoints

  • renderBreakpoints(): void

Protected renderCurrentBreakpoints

  • renderCurrentBreakpoints(): void

Protected showHover

  • showHover(mouseEvent: IEditorMouseEvent): void

toggleBreakpoint

  • toggleBreakpoint(position?: Position): void

Protected toggleExceptionWidget

  • toggleExceptionWidget(): Promise<void>

Protected updateBreakpointRanges

  • updateBreakpointRanges(): void

Protected updateBreakpoints

  • updateBreakpoints(): void

Protected updateEditorDecorations

  • updateEditorDecorations(): Promise<void>

Protected updateEditorHover

  • updateEditorHover(): Promise<void>
  • To disable the default editor-contribution hover from Code when the editor has the currentFrame. Otherwise, both textdocument/hover and the debug hovers are visible at the same time when hovering over a symbol.

    Returns Promise<void>

Static createContainer

  • createContainer(parent: Container, editor: MonacoEditor): Container

Static createModel