2 ms·
Wow that's fantastic that Microsoft have extended the debugger to understand streams and async/await code, this of course only works because they develop both t
by willtim 8y ago
Wow that's fantastic that Microsoft have extended the debugger to understand streams and async/await code, this of course only works because they develop both the abstractions and the debugger. It's probably not so easy for the rest of us to extend it for our own abstractions.
- Const-me 8y ago> It's probably not so easy for the rest of us to extend it for our own abstractions. Depends on the abstraction. For idiomatic stuff it’s relatively easy to extend the debugger, see e.g. [1] about writing custom debug visualizers for very complex objects (for reasonably complex there’re much simpler ways). For non-idiomatic stuff such as extending the language by modifying the compiler, or e.g. post-processing the compiled output, I don’t know because I never needed debugger support. https://docs.microsoft.com/en-us/visualstudio/debugger/create-custom-visualizers-of-data https://docs.microsoft.com/en-us/visualstudio/debugger/creat...