I use Visual Studio 2019.
Once in a while, I encounter some insane bugs that debug-mode can't help, e.g. heap corruption.
Lucky for me, Windbg can almost detect them in every scenario.
However, I feel ashamed to open gflag.exe, set correct project, recompile as /Z7, disable incremental linking, …, debug in VS in special CPU-profiling mode, and press F5 repeatedly in Windbg.exe.
My workspace is like a frankenstein!
Are there any cooler approach? … or did I miss something?
---------
I learnt Windbg from :-
- https://www.reddit.com/r/windows/comments/3wdlfd/where_to_get_windbg_for_windows_7_nowadays/
- http://stackoverflow.com/questions/35209951/gflags-command-lines
- http://stackoverflow.com/questions/865546/generating-symbols-in-release-binaries-with-visual-studio
- https://stackoverflow.com/questions/30019889/how-to-set-up-symbols-in-windbg