Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DebugEditorModel

Hierarchy

  • DebugEditorModel

Implements

  • Disposable

Index

Constructors

Properties

breakpointDecorations: string[] = []
breakpointRanges: Map<string, [Range, SourceBreakpoint]> = ...
breakpointWidget: DebugBreakpointWidget
breakpoints: BreakpointManager
configurationService: IConfigurationService
contextMenu: ContextMenuRenderer
currentBreakpointDecorations: string[] = []
editor: MonacoEditor
editorDecorations: string[] = []
exceptionWidget: DebugExceptionWidget
hintDecorations: string[] = []
inlineValueDecorator: DebugInlineValueDecorator
sessionManager: DebugSessionManager
toDispose: DisposableCollection = ...
toDisposeOnUpdate: DisposableCollection = ...
topFrameRange: undefined | Range
update: ((...arguments: []) => Promise<void>) = ...

Type declaration

    • (...arguments: []): Promise<void>
    • Debounce promise-returning & async functions.

      example
      import pDebounce = require('p-debounce');

      const expensiveCall = async input => input;

      const debouncedFn = pDebounce(expensiveCall, 200);

      for (const i of [1, 2, 3]) {
      debouncedFn(i).then(console.log);
      }
      //=> 3
      //=> 3
      //=> 3

      Parameters

      • Rest ...arguments: []

      Returns Promise<void>

      A function that delays calling fn until after wait milliseconds have elapsed since the last time it was called.

updatingDecorations: boolean = false
uri: URI
BREAKPOINT_HINT_DECORATION: IModelDecorationOptions = ...
CONTEXT_MENU: MenuPath = ...
FOCUSED_STACK_FRAME_DECORATION: IModelDecorationOptions = ...
FOCUSED_STACK_FRAME_MARGIN: IModelDecorationOptions = ...
STICKINESS: TrackedRangeStickiness = monaco.editor.TrackedRangeStickiness.NeverGrowsWhenTypingAtEdges
TOP_STACK_FRAME_DECORATION: IModelDecorationOptions = ...
TOP_STACK_FRAME_INLINE_DECORATION: IModelDecorationOptions = ...
TOP_STACK_FRAME_MARGIN: IModelDecorationOptions = ...

Accessors

  • get position(): Position

Methods

  • acceptBreakpoint(): void
  • addBreakpoint(raw: SourceBreakpoint): void
  • addInlineBreakpoint(): void
  • areBreakpointsAffected(): boolean
  • createBreakpointDecorations(breakpoints: SourceBreakpoint[]): IModelDeltaDecoration[]
  • createCurrentBreakpointDecorations(): IModelDeltaDecoration[]
  • createFrameDecorations(): IModelDeltaDecoration[]
  • createHintDecorations(event: IEditorMouseEvent): IModelDeltaDecoration[]
  • createInlineValueDecorations(): Promise<IDecorationOptions[]>
  • deltaDecorations(oldDecorations: string[], newDecorations: IModelDeltaDecoration[]): string[]
  • deltaHintDecorations(hintDecorations: IModelDeltaDecoration[]): void
  • dispose(): void
  • handleMouseDown(event: IEditorMouseEvent): void
  • handleMouseLeave(event: IPartialEditorMouseEvent): void
  • handleMouseMove(event: IEditorMouseEvent): void
  • hideHover(__namedParameters: IPartialEditorMouseEvent): void
  • hintBreakpoint(event: IEditorMouseEvent): void
  • init(): void
  • render(): void
  • renderBreakpoints(): void
  • renderCurrentBreakpoints(): void
  • showHover(mouseEvent: IEditorMouseEvent): void
  • toggleBreakpoint(position?: Position): void
  • toggleExceptionWidget(): Promise<void>
  • updateBreakpoints(): void
  • updateEditorDecorations(): Promise<void>
  • 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>

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