When debugging (breakpoints) NCrunch 4.18.0.3 opens C++ source file copies from within the BuildSystem directory in the VisualStudio editor.
Thus editing these C++ file thus not change/fix the program behavior.
It should open the original C++ source file.
Daily Usage Issues
When debugging C++ files are opened from within the BuildSystem directory in the VS editor
Started by wilhelmmedetz on 1,364 views
Remco NCrunch Developer
#16822
28 Aug 2023 21:33 UTC
Hi, thanks for sharing this.
This is a known issue. Unfortunately, we don't have a way to solve it without introducing an instrumentation system for compiled C++ binaries (which is probably about 2+ years of work). When working in .NET based languages (i.e. C#), we are able to rewrite the PDB files during instrumentation so that they point to source files in the foreground solution. As we don't have a system to instrument C++ code, we can't do the same for it.
If we ever add full-feature support for C++ in future, it will be possible to solve this issue.
This is a known issue. Unfortunately, we don't have a way to solve it without introducing an instrumentation system for compiled C++ binaries (which is probably about 2+ years of work). When working in .NET based languages (i.e. C#), we are able to rewrite the PDB files during instrumentation so that they point to source files in the foreground solution. As we don't have a system to instrument C++ code, we can't do the same for it.
If we ever add full-feature support for C++ in future, it will be possible to solve this issue.
Post a reply
Log in to reply.