Source code downloaded via the debuggers sourceRequest creates lots of duplicate open files across debug sessions
See original GitHub issueIf I debug into a source file that is downloaded from the debugger (via sourceRequest
) and then stop the debug session and repeat the same thing again, VS Code opens a second copy of the source (even though the name/contents are identical).
After a few debug sessions, I end up with this:
As far as I can tell, nothing is different about these files (besides the sourceReference
) so I would expect VS Code to reuse the same existing file the next time they’re required (I actually thought this is what it did in the past, though I’m not certain).
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Duplicate source file displays when debuggibng with ...
However, the red dot with the breakpoint stays in the original copy of the file. When debugging is over, the second copy stays...
Read more >Without any changes to source files, "Edits were made which ...
This problem happens when changes to source code are made: ... updates from design-time build are interpreted as changes made during the debugging...
Read more >Data source fields - Product Documentation | ServiceNow
Create time cards and log time through Time Sheet Portal ... Enable session debugging for AI Search ... Create a File type data...
Read more >Debugging with GDB - sourceware.org
This file describes GDB, the GNU symbolic debugger. ... get multiple executables into a debugging session via the add-inferior and clone-inferior commands.
Read more >Could not load source: SourceRequest not supported
... the current working directory to the executable's and then add the appropriate source file map as written in the last post of...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@TylerLeonhardt yup,
IHistoryService#removeFromHistory
.As far as I know, something like this isn’t supported, right @bpasero?