I would like to develop an extension for Visual Studio that runs a small piece of code at runtime after a breakpoint has been removed.
To add some clarity, I really want to name some code in the same way as I do, manually writing it in the immediate window and displaying the results well (preferably a tree view).
I did not want to publish this question, since it seems rather broad at first glance, but I am sure that there are not many ways to do this.
I really studied Roslyn, but I find compilation-time only if I'm not mistaken?
I have the code to do this already, and it works fine in the direct window, but I want to add it as a function, as it is a bit cumbersome to manually enter it, and it is also not easy to execute it. what I need is somewhere between the โclockโ and the โimmediateโ function.
Question
What platform / technology allows me to extend Visual Studio so that at runtime I can run ad hoc snippets and display the results well?
source share