Im working on a project where I have to change certain values of variables for debugging. In the release-version there are long TimeSpans between some actions. For debugging I would change the values of the TimeSpans in order to not having to wait so long. Example:
//For Release: //TimeSpan intervall1 = new TimeSpan.FromMinutes(90); //For Debug: TimeSpan intervall1 = new TimeSpan.FromSeconds(10);
I have many such cases, so it's easy to forget to undo the changes for the release.
Is there a way to keep track of changes like these? Or are there better ways for debugging in such cases?
https://stackoverflow.com/questions/65414165/keep-track-of-changes-made-for-the-purpose-of-debugging-in-c-visual-studio December 23, 2020 at 02:43AM
没有评论:
发表评论