I inherited an application using a large number of text based files for configuration.
The file’s names are constructed dynamically in the software, so I can’t search directly for a file name in the source code.
Is there any way to break into a program running in the debugger when it touches a particular text file?
If you know the place where the files are being open or if the dynamically created file names are assigned to some variable, create an conditional breakpoint that breaks the code execution only if the filename is matching the file that you’re interested in.