Does Visual Studio insert tabs / newlines in a print checkpoint message (checkpoint)?

Does anyone know how to put a tab or new line in the print message of a breakpoint and is it displayed correctly?

So far I have tried '\ t' and '\ n', which give the same thing in the debug output. I also tried just putting in 4 spaces, but they are deleted after I click OK in the "When the breakpoint hit" dialog box.

I use VS.NET 2008 with native code, if that matters.

Thanks.

+5
source share
3 answers

, . , : {'\n'}. , . , .

, , . . ({"\r\n"}). , VS , .

+2

VS2010 , " ".

0

, tracepoint, :

  • - , . BREAKME;
  • XML (. MSDN );
  • XML BREAKME escape- CDATA, (-), :

    <![CDATA[
    
    ]]>
    
  • XML.

OTOH, , 2-4...

/. Visual Studio Microsoft, Visual Studio; , , Microsoft ..

0

All Articles