开发者

How to close file opened by Debugger automatically after debugging?

开发者 https://www.devze.com 2023-01-15 01:03 出处:网络
While debugging, whenever we step into a method, the file which defines that method will be opened and remains open after debug - this messed up my files in Visual Studio. I want to be able to close t

While debugging, whenever we step into a method, the file which defines that method will be opened and remains open after debug - this messed up my files in Visual Studio. I want to be able to close those opened-by-debugger files after the debug finished.

Let's say I'm opening 5 files already and start debugging. After the debug, I have 10开发者_运维百科+ files opened which means there are 5+ "new & strange" files opened by the debugger. I don't want them, and just want to close them quickly

How can I do this?


There used to be a option "Recycle Windows" in former versions of Visual studio, which only added one additional window for all debug windows. But apparently this has been removed.


I have an idea after a while: You can pin the tab (tab == file) using addon Visual Studio 2010 Productivity Power Tools. Then after the debug just right click tabs area and call "Remove all but pinned".

0

精彩评论

暂无评论...
验证码 换一张
取 消