microsoft / ConcordExtensibilitySamples

Visual Studio Debug Engine Extensibility Samples
Other
121 stars 50 forks source link

Intermediate window and expression compiler #76

Closed RobertvanderHulst closed 2 years ago

RobertvanderHulst commented 2 years ago

For a custom language, how does the intermediate window decide which expression compiler to use ?

gregg-miskelly commented 2 years ago

All expression evaluations (Watch/Data tips/immediate window/etc) have the same algorithm -- it will look at the language of the frame in the PDB.

RobertvanderHulst commented 2 years ago

So when the top frame is our custom language then our expression evaluator is used. Thanks for the info. Do you have a link to documentation about this?

gregg-miskelly commented 2 years ago

To be clear - not the top frame be rather the current frame.

I am not sure if there was a note somewhere else in the docs, but it seemed like something that should be called out on https://github.com/microsoft/ConcordExtensibilitySamples/wiki/Expression-Evaluators-Overview, so I added a sentence to it.