Reputation: 511
For example, I am debugging a project that contains several source files where I already have breakpoints. During debugging I once disabled all the breakpoints from debug menu (Debug -> Disable All Breakpoints
).
But now I want to enable the breakpoints only of a particular source file which I want to debug. In Visual Studio (2013), how to do that?
Upvotes: 1
Views: 831
Reputation: 11514
In the breakpoint window (Debug > Windows > Breakpoints), put your file name in the "Search:" box and select "File" in the "In Column:" drop down.
The Breakpoints window toolbar has a button for "Enable or disable all breakpoints matching the current search criteria"
Upvotes: 5