Is it possible in VS2019 to view what is in memory without triggering a breakpoint? I want to see the state of things without invoking any behavior because it seems something is changing anytime I interact with my app. It's an old .net framework app so I can't just use a data breakpoints.
CodePudding user response:
Depending on your scenario, there are two things that come to mind.
Logs
You can use logs to print some information to some output such as the debug output, console, log files, etc.
You can print to the Console
(or Debug
) depending on your application type to see things as they happen. You can write to file to record everything and check what happened afterwards.
Memory Profiler
If you want to see details of what's in memory, you can use the memory profiler of Visual Studio to take a snapshot of memory.