locked
breakpoints import RRS feed

  • Question

  • User-1442981517 posted

    MSDN excerpts

    You can export breakpoints from a Visual Studio project to an XML file by using the Breakpoints window. Later, you can import the breakpoints from the XML file back into Visual Studio.XML files enable easy sharing of breakpoints between projects and developments. You can import and export breakpoints to transfer them between projects or to e-mail an XML file to a co-worker. You can also make bulk changes to breakpoints by using a text editor to modify the XML file.

    Why should we export/ import such things --- we cannot import a specific situation onto another program; it is a different case (physical / business needs), isn’t it?

    Saturday, February 2, 2013 1:06 AM

Answers

  • User1428336426 posted

    Suppose you have a very big project and there are more than 1 developer which is working on the project.

    So for particular modules you might have set some breakpoints which you wnt to retrieve wen you are working on the project later. Some other developer might remove all the breakpoint you have set and now you want it back then you can just import your breakpoint when you are working and can easily debug your code..

    1.   ---- a situation,    or a       2.     mere point or line where the breakpoint is set

    For the line where the breakpoint has been set earlier.

    setting a breakpoint is no biggie ,

    but just imagine you have 100 of pages and want to track your debugging breakpoint at that time dont you feel importing the breakpoints will help you

    Actually everything is based on the type of project you are working on and the number of ppl associated with it..

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, February 4, 2013 3:14 AM

All replies

  • User1428336426 posted

    Hola Amigo,

    It is exported and imported to use for future reference and also you can give it to other developers to use in the same project.

    Note:

    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.

    Saturday, February 2, 2013 7:06 AM
  • User-1442981517 posted

    Hello Rima Gandhi,

    thanks for answering .

    Actually  what I mean is that why should a breakpoint require to be exported? What is exactly exported :-

    1.   ---- a situation,    or a       2.     mere point or line where the breakpoint is set

    what information through the XML will be passed that will benefit a different programming scenario ---- , setting a breakpoint is no biggie ,

     so why import something?

    Monday, February 4, 2013 1:28 AM
  • User1428336426 posted

    Suppose you have a very big project and there are more than 1 developer which is working on the project.

    So for particular modules you might have set some breakpoints which you wnt to retrieve wen you are working on the project later. Some other developer might remove all the breakpoint you have set and now you want it back then you can just import your breakpoint when you are working and can easily debug your code..

    1.   ---- a situation,    or a       2.     mere point or line where the breakpoint is set

    For the line where the breakpoint has been set earlier.

    setting a breakpoint is no biggie ,

    but just imagine you have 100 of pages and want to track your debugging breakpoint at that time dont you feel importing the breakpoints will help you

    Actually everything is based on the type of project you are working on and the number of ppl associated with it..

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, February 4, 2013 3:14 AM
  • User-1442981517 posted

    Thank you Rima Gandhi

    Tuesday, February 5, 2013 2:08 AM