emert117
emert117

Reputation: 1488

visual studio delete all breakpoints in a file

I want to delete all breakpoints in a specific file (customerController.cs). Is there an easy way to do this?

I don't want to delete all breakpoints within a project or a solution.

Upvotes: 10

Views: 2695

Answers (2)

Johnny
Johnny

Reputation: 9519

  • Open Breakpoints window (CTRL+ALT+B)
  • Add File columns in Show Columns (optional)
  • Search by file name
  • Select all and delete

n.b. Talking about VS2017

Upvotes: 10

emert117
emert117

Reputation: 1488

Addition to @Johnny's answer:

  • Open Breakpoints window (CTRL+ALT+B)

Open Breakpoints window

  • Add File columns in Show Columns

Add File columns in Show Columns

  • Search by file name and Click "Delete all breakpoints matching the current search criteria"

Search by file name

Upvotes: 4

Related Questions