问题
I set debugger to Native Only, solution configurations is Debug but New Data Breakpoint... option is still greyed out and I can't use it. Can anyone prompt me what else I need to change ?
回答1:
- Make sure active project debugger setting is "Native Only".
- Start the debugging with another ordinary breakpoint, then you can see "New Data Breakpoint" is clickable. (In other words, you must be inside debug mode to be able to create a data break point.)
Hope this helps..
回答2:
Also be sure to look at Tools -> Options -> Debugging -> General and make sure "Enable address-level debugging" is checked.
来源:https://stackoverflow.com/questions/24229878/cant-use-data-breakpoint-c-visual-studio-2013