Theia API Documentation v1.65.0
    Preparing search index...

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    _available: boolean = false
    _expression: string
    _type: undefined | string
    _value: string = ExpressionItem.notAvailable
    elements: undefined | Promise<ExpressionContainer[]>
    indexedVariables: undefined | number
    namedVariables: undefined | number
    sessionProvider: DebugSessionProvider
    severity?: Severity
    startOfVariables: number
    variablesReference: number
    notAvailable: string = ...

    Accessors

    Methods

    • Parameters

      • Optionalbody: {
            indexedVariables?: number;
            memoryReference?: string;
            namedVariables?: number;
            presentationHint?: VariablePresentationHint;
            result: string;
            type?: string;
            valueLocationReference?: number;
            variablesReference: number;
        }
        • OptionalindexedVariables?: number

          The number of indexed child variables. The client can use this information to present the variables in a paged UI and fetch them in chunks. The value should be less than or equal to 2147483647 (2^31-1).

        • OptionalmemoryReference?: string

          A memory reference to a location appropriate for this result. For pointer type eval results, this is generally a reference to the memory address contained in the pointer. This attribute may be returned by a debug adapter if corresponding capability supportsMemoryReferences is true.

        • OptionalnamedVariables?: number

          The number of named child variables. The client can use this information to present the variables in a paged UI and fetch them in chunks. The value should be less than or equal to 2147483647 (2^31-1).

        • OptionalpresentationHint?: VariablePresentationHint

          Properties of an evaluate result that can be used to determine how to render the result in the UI.

        • result: string

          The result of the evaluate request.

        • Optionaltype?: string

          The type of the evaluate result. This attribute should only be returned by a debug adapter if the corresponding capability supportsVariableType is true.

        • OptionalvalueLocationReference?: number

          A reference that allows the client to request the location where the returned value is declared. For example, if a function pointer is returned, the adapter may be able to look up the function's location. This should be present only if the adapter is likely to be able to resolve the location.

          This reference shares the same lifetime as the variablesReference. See 'Lifetime of Object References' in the Overview section for details.

        • variablesReference: number

          If variablesReference is > 0, the evaluate result is structured and its children can be retrieved by passing variablesReference to the variables request as long as execution remains suspended. See 'Lifetime of Object References' in the Overview section for details.

      • error: string = ExpressionItem.notAvailable

      Returns void