When I try to debug my cxx program it shows. Source information is missing from the debug information for this module. can any one suggest me the solution .I have tried a lot of methods to debug but its not working

Nikita Pokale 0 Reputation points
2023-06-14T10:03:31.5433333+00:00

User's image

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

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 31,056 Reputation points Microsoft External Staff
    2023-06-15T06:23:25.42+00:00

    Hi @Nikita Pokale

    Welcome to Microsoft Q&A! 

    Which version of Visual Studio are you using? 

    Please close all running Visual Studio instances and update your Visual Studio to the latest version. 

    Then, launch your VS again and go to Tools > Options > Debugging > uncheck “Enable Just My Code”. 

    Sincerely,

    Anna


    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.

    0 comments No comments

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.