Visual studio 2010 having an interesting feature where you can save breakpoints and can use them in future or pass the saved file to some other developers. Visual Studio saves breakpoints in an XML Format. To save the breakpoints, you just need to click on the “Export” button in breakpoint window.
You can use the saved XML file for the future and you can pass the same to other developers. You can also save breakpoints based on the search on labels. Let’s have a quick look inside the content of the XML File. The XML file is collection of
BreakPoints tag within
BreakpointCollection. Each breakpoints tag contains information about the particular breakpoint like line number, is enabled, etc.
If you delete all the breakpoints from your code at any time, you can easily import them by just clicking on the “
Import“ breakpoints button. This will restore all of your saved breakpoints.