vscode-cpptools
vscode-cpptools copied to clipboard
Please implement data breakpoint when using Visual C++ compiled code on Windows
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.
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.
Issue 1410 has been implemented, so GDB now has data breakpoints. Please implement it for Visual C++ as well.
Related on Stack Overflow: Developing in C++ using VS Code, is it possible to add a data breakpoint for Visual Studio Windows Debugger?
+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.
@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?
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.
Please implement this feature, which is very important when debugging code.
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?
@hharshada Can you please give an update on this issue?
@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 .