i had this issues too
it would be convenient to have an editable list of " files not to be opened in an editor " during debugging,
which could have entries in the form of Folder- and Filenames,
for example:
D:\MinGW\*. ;excludes all Files from D:\MinGW\ and subdirectories
${SystemRoot}\* ;exlude all files from Windows folder and subdirs
*.dll ;excludes all dll files regardless from where they are