Hi @Sajith ,
Welcome to Microsoft Q&A!
Could you share me your specific version of VS2022?
Please relaunch your Visual Studio and try to rebuild your project.
Besides, please check if you set a breakpoint span that contains the specified line and column.
https://learn.microsoft.com/en-us/dotnet/api/microsoft.visualstudio.textmanager.interop.ivslanguagedebuginfo.validatebreakpointlocation?view=visualstudiosdk-2022
https://stackoverflow.com/questions/27499129/allowing-to-insert-breakpoint-in-visual-studio-editor-extension
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.