Hello @Joanna Lam ,
Welcome to Microsoft Q&A forum.
Did you set some breakpoints, and are you using remote debugging?
Please first try to delete all breakpoints that you have set(Debug > Delete All Breakpoints), and then go to your solution folder and remove the hidden .vs folder(if you didn’t see the hidden .vs folder, please open a Windows File Explorer > click View > Show > Hidden items), then try to rebuild your project, set the breakpoints and run it again.
Please then try following methods too if removing breakpoints doesn’t work.
- Close and restart VS(reboot your machine if possible).
- Repair VS from VS Installer > More > Repair. Update VS to the latest version. Reset VS settings.
- Disable any installed extensions in VS > Extensions > Manage Extensions and check if the issue disappears.
- In case Windows Security blocked the msvsmon.exe, you may consider adding an exclusion to Windows Security.
- Please try to create a new project > set the breakpoint directly to
Console.WriteLine("Hello World!")
line and run the project then let us know if the same error appears.
If you are using remote debugging, please check if you are using any proxy and platform(like Azure DevOps) and check these documents: Network configuration, Troubleshoot remote debugging, Remote Debugging Errors and Troubleshooting.
Feel free to contact us.
Best Regards,
Tianyu
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.