Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

When debugging C++ files are opened from within the BuildSystem directory in the VS editor
wilhelmmedetz
#1 Posted : Monday, August 28, 2023 1:50:27 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 7/4/2012(UTC)
Posts: 35

Was thanked: 2 time(s) in 2 post(s)
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.
Remco
#2 Posted : Monday, August 28, 2023 9:33:03 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,987

Thanks: 931 times
Was thanked: 1257 time(s) in 1170 post(s)
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.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.027 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download