Could set data breakpoints in C++ project in VS2019, cannot in same project in VS2022

William Below 1 Reputation point
2022-02-23T02:21:55.423+00:00

In VS2022, New Data Breakpoint is always disabled. Debug is set to Native Only, Hot Reload is off. Are there any other settings that could prevent setting a data breakpoint?

Developer technologies Visual Studio Debugging
Developer technologies C++
{count} votes

1 answer

Sort by: Most helpful
  1. Minxin Yu 13,501 Reputation points Microsoft External Staff
    2022-02-24T01:56:59.41+00:00

    Hi, @William Below
    Please also check the setting: Tools -> Options -> Debugging -> General->Enable address-level debugging
    177362-image.png

    Best regards,

    Minxin Yu


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.