Quantcast
Channel: Visual Studio and Visual Web Developer Express
Viewing all articles
Browse latest Browse all 3509

Pasting text with linebreaks to an object variable in debug mode

$
0
0

Hi.

This might seem as an irrelevant need, but I use it very often, and suddently it wont "work".

When debugging in VS 2010, I set a breakpoint on a line, then browse a certain objects members. This object has an XML document member. Now I paste my custom xml document inside the 'InnerXml' property on the document, pushes enter, and the xml on the object is now updated with my custom xml.

This suddently doesent work.

Now I can only paste the first line of the xml document. That means that VS now ignores everthing after the first linebreak. So instead of
<XmlDoc>
  <Bla>
  </Bla>
</XmlDoc>

I can only paste

<XmlDoc>

I´ve tried fidling with the encoding, but that doesent seem to be the issue.

Any clue?

Thanks alot!


Viewing all articles
Browse latest Browse all 3509

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>