回答

1

找不到可能的解決方案。如果您只想獲取變量值,則一種解決方法是您可以使用即時窗口而不是本地窗口。或者你可以調試觀察窗口來輸出你想用本地擴展獲得的視圖列表。

Output a watched Visual Studio variable to a file

但沒有發現使用本地窗口來實現它的方式。

我幫你提交的功能要求產品團隊在這裏:

https://visualstudio.uservoice.com/forums/121579-visual-studio-ide/suggestions/30957622-can-i-print-the-information-of-the-locals-window-i

如果可能的話,你也可以投票,並添加您的評論出現。

相關問題