provideEvaluatableExpression

Provide an evaluatable expression for the given document and position. The editor will evaluate this expression in the active debug session and will show the result in the debug hover. The expression can be implicitly specified by the range in the underlying document or by explicitly returning an expression.

Parameters

document

The document for which the debug hover is about to appear.

position

The line and character position in the document where the debug hover is about to appear.

token

A cancellation token.