After a software update, VS2022 stopped working correctly. When I hit a break point, I don’t get any local variables and their values, instead I get a “wait…” label that looks like a button, and also VS is growing in memory size until it crashes my Windows, or I either stop the debugging or VS itself.

So far I get the best results by using x64dbg, but it has it’s own issues, namely that almost all guides only discuss its reverse engineering capabilities, and I need a development tool, so I don’t have to rely on printing to the console as debugging, which has a lot of issues (leaving in the print commands, etc). I’m programming in D, but it should work with any other debugger made for C, and up until recently I used VS for that purpose.

  • Lucky@programming.dev
    link
    fedilink
    arrow-up
    8
    arrow-down
    1
    ·
    1 year ago

    Try deleting all obj and bin folders in the repo and restart VS. Sometimes it gets stuck on an old project reference and can’t clear out the cached files