vscode-cpptools icon indicating copy to clipboard operation
vscode-cpptools copied to clipboard

Please implement data breakpoint when using Visual C++ compiled code on Windows

Open Ben136KBC opened this issue 3 years ago • 10 comments

I see that this has been logged a number of times and closed with 1410 as being used to track this. But 1410 talks about GDB. But if you are on Windows using Visual C++ PDB files, there is no way to set data break points and its a different development issue. So please do not mark this as a duplicate of 1410.

The documentation says that if a debugger supports data breakpoints, you can set them in the VARIABLES section. However, I can find nothing there for this extension while debugging Microsoft C++ under Windows. Is it missing or somewhere else?

This extension is awesome, super, but being able to set data breakpoints is very important and that appears to be missing?

I love VSCode and use it by default now, and the apparent lack of data breakpoints is baffling. Sometimes they are indispensable. I would rate this as the top feature I need.

Ben136KBC avatar Oct 29 '21 17:10 Ben136KBC

Thank you for your feature idea. We may not be able to implement it immediately, but we will track the community reactions to determine where this might fit into our backlog.

WardenGnaw avatar Nov 01 '21 17:11 WardenGnaw

Issue 1410 has been implemented, so GDB now has data breakpoints. Please implement it for Visual C++ as well.

Ben136KBC avatar Feb 01 '22 22:02 Ben136KBC

+1. Currently, I have to switch to Visual Studio to do data breakpoints, or use the super slow/buggy LLDB debugger. It would save countless headaches to have it here. It seems like a fairly standard feature in most debuggers.

nolancasimir avatar Oct 25 '23 20:10 nolancasimir

@WardenGnaw @vscode @hharshada Will this be implemented in the next release of the debugger, it's 2024 now and it has not yet been implemented for cppvsdbg? Make the product better, look at the Raddebugger, it already has more features than the vs code debugger. How many developers are working on that, 1?

mathforlife83 avatar Feb 22 '24 09:02 mathforlife83

I am very sad that this very basic, almost ever debugger has it, core functionality is somehow still absent in Visual Studio Code. Some things you can't debug without data breakpoints. This particular issue is the key reason I do not use VSC day to day.

Ben136KBC avatar Feb 22 '24 15:02 Ben136KBC

Please implement this feature, which is very important when debugging code.

wwp321 avatar Mar 21 '24 01:03 wwp321

Please prioritize this. I was a little shocked to find out it's not supported yet. I guess it's good that it works with GDB, but why have you stopped there?

Astiolo avatar Mar 27 '24 01:03 Astiolo

@hharshada Can you please give an update on this issue?

mathforlife83 avatar Apr 30 '24 07:04 mathforlife83

@mathforlife83 This issue is not currently being worked on -- it's currently the 15th most upvoted debugger issue: https://github.com/Microsoft/vscode-cpptools/issues?q=is%3Aopen+is%3Aissue+label%3Adebugger+sort%3Areactions-%2B1-desc .

sean-mcmanus avatar Apr 30 '24 19:04 sean-mcmanus