Import and Export Breakpoints in Visual Studio 2010

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.

image

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.

image

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.

Abhijit Jana

Abhijit runs the Daily .NET Tips. He started this site with a vision to have a single knowledge base of .NET tips and tricks and share post that can quickly help any developers . He is a Former Microsoft ASP.NET MVP, CodeProject MVP, Mentor, Speaker, Author, Technology Evangelist and presently working as a .NET Consultant. He blogs at http://abhijitjana.net , you can follow him @AbhijitJana . He is the author of book Kinect for Windows SDK Programming Guide.

One Comment to “Import and Export Breakpoints in Visual Studio 2010”

Comments are closed.