title: Remote debugging with XE2 - display of strings
body: <p>I'm remote debugging a large app between DElphi XE2 (update #4) and a Windows XP target. PAServer is running on the target and the application works fine and stops at breakpoints (you would NOT believe how hard just that achievement was - hint - delete your DPROJ and start again if it has been through any IDE prior to XE).</p>
  
  <p>I notice that the display of local variables and watches show my strings in a strange format compared to the usual display of the 'some string' format that one sees when debugging locally. I see:</p>
  
  <p><img src="https://i.stack.imgur.com/kSq2Q.png" alt="enter image description here"></p>
  
  <p>Can anyone tell me why the strings are displayed this way? I also get quite a bit of { NULL } and garbage between {}'s on output variables that are not yet assigned.
  Thanks.</p>
  
  <p>. I see that this format indicates wide strings. I tried a simple app on Windows 7 and got the following result. My App at a breakpoint:</p>
  
  <p><img src="https://i.stack.imgur.com/XyI23.png" alt="enter image description here"></p>
  
  <p>The displayed local string variables:</p>
  
  <p><img src="https://i.stack.imgur.com/q4FHB.png" alt="enter image description here"></p>
  
  <p>Note the truncated 'Hello'. It would seem that XE2 has a problem with remote unicode strings at times. My PaServer is version 1.0.2. Can anyone check that this is the latest? 'Twas taken from Update #4...</p>