How to switch on and off displaying of escape sequences in the strings in Visual Studio 2012 during debugging?

Hi. We have faced a problem on couple of our installations of VS2012. During debugging on these two computers escape sequences in the strings (C++) are not shown (when debugger stops on breakpoint). This creates problems during debugging. On other
installations escape sequences are shown.
For example in the first case string value is shown like "abcdef" while in the second case it is shown like "abc\n\t\tdef".
Where this can be changed?

This is typically controlled with a format specifier on the debugger expression.  For example, if you have a char* variable called "mystring", then enter the following expressions in your watch window and compare:
mystring
"abc\n\tdef"
mystring,s
"abc\n\tdef"
mystring,sb
abcdef
the "b" is for "bare" and eliminates quotes and escape sequences.
There are others such as su, sub, s8, bstr, etc.  See
Format Specifiers in C++.
But having said that, now I have to ask:
Is it native or managed code?
And where, specifically, in the debugger is this value being displayed?  I ask because there are numerous places where a string can be displayed:  watch window, quick-watch window, data-tips (pinned and unpinned), memory window, text visualizer,
debug messages, immediate window, command window, etc.
And, if you are examining a variable, what is its type?   (e.g.: char*, wchar_t*, std::string, std::wstring, etc.)
And if you are examining a complex debugger expression, what expression did you use?  e.g.: mystring,sb

Similar Messages

  • Can we develop a solution in Visual Studio 2012 and still deploy it on BizTalk 2010?

    Can we develop a solution in Visual Studio 2012 and still deploy it on BizTalk 2010? or Is it that solutions developed in VS 2012 have to be deployed only to BizTalk 2013?
    Thanks

    BizTalk 2010 projects are not compatible with Visual Studio 2012. To use Visual Studio 2012 with BizTalk 2010 projects, you must install
    BizTalk 2013 on the computer that has Visual Studio 2012. The first time you open a BizTalk 2010 project, it is automatically upgraded to the BizTalk 2013/Visual Studio 2012 project system
    Refer
    this.
    Please mark it as Answer if this answers your question
    Thanks.
    Mo
    The contents I write here is my personal views, not the view of my employer and anyone else.

  • Sharepoint 2013 - Can I use Visual Studio 2012 express edition for web-parts and app parts?

    I am new to sharepoint 2013. I want to develop the app and web parts using visual studio 2012 express edition. Can I use vs 2012 express edtion to create app and web parts for sharepoint 2013?

    Unfortunately no, check this post:
    http://sharepoint.stackexchange.com/questions/52338/sharepoint2013-development-with-vs2012-express
    To build SharePoint 2013 webparts/apps you will need the 'Microsoft Office Developer Tools for Visual Studio 2012', which do not come as part of Visual Studio.  The tools require Visual Studio 2012 Ultimate, Premium, or Professional.
    The tools and prerequisites can be found here:
    http://msdn.microsoft.com/en-us/office/apps/fp123627.aspx
    Brandon Atkinson
    Blog: http://brandonatkinson.blogspot.com

  • My wifi switch on and off button isn't working. how do i fix that ?

    After i upgraded to ios 6 , the switch on and off button doesn't work. It is staying at Off. i want do know how to fix that.

    no answers yet, we are many in this situation...

  • Iphone 5 - Switchs on and off automatically

    Hello,
    I have just encountered the following problem on my Iphone 5.
    I have bought my phone an year ago and updated IOS to IOS7 and had no issues till now.
    I was playing a game and the device shut down automaticall and immediatly reboots only to shut down again and again.
    Following is the link to the video in this regard.
    http://youtu.be/g9ssPGrZA9Y
    Please let me know of the possible solution to this.
    Thanks in advance

    Try to reset the phone by holding the sleep and home button until the Apple logo comes back again. If this does not help, set it up "as new device" How to back up your data and set up as a new device
    If still no luck, repeat the set up again, this time without using the latest backup, in case it contains corrupt data causing your problem.
    If your device is not recognized by iTunes due to switching on and off, try to connect in recovery mode, explained here: iPhone and iPod touch: Unable to restore

  • Nokia 6021 - Switching on and off

    I have just received a brand new Nokia 6021 to replace a 6310i which was developing a fault with the on/off switch after 4 years.
    Well, the 6021 is just about impossible to switch on and off. My thumb is now strained after so many attempts. The only way to it is get the edge of something hard and press down really hard for about 10 seconds and then it will switch on/off.
    Is that how it is supposed to work?

    Is it switching off & on without stop??!! anyway, if you have the chance to back up your data then restore factory settings or even using bluetooth to send that video to other phone first, if it's really not responding as you're saying, maybe a power cycle could be useful: turn off the phone by keeping the power button down until you feel 3quick vibrations and turn it back on after 1min, if your phone doesn't support this option, hmm... while am writing this i've had an idea you maybe changed where your camera should save pics so you might have it already on your MC, if not maybe anybody else here have better solution.

  • Switching on and off hard drives is a big stress and reduces the durability / reliability?

    In general, switching on and off (external) USB (2.0, 3.0) hard drives (2,5" and 3,5") is said to be a big stress and to reduce the durability / reliability negatively on them? Is that really true?
    If yes, what would that mean for the settings for / in drives and / or Windows? How should one adapt them? What does that mean for the use of drives?

    Hello,
    Normally it is good to have the unit turned off if it is not being user at a certain time, however USB drives from WD normally do not have Power button, except for older models. In my opinion is if better to have the drive turned off it there is nothing being done with the drives.

  • I tried to restore my 120 gb iPod and got an error 1413 message - "cannot restore iPod". I started to reset turning the hold switch on and off and now my iPod seems to be permanently locked.

    I tried to restore my 120 gb iPod and got an error 1413 message - "cannot restore iPod". I started to reset turning the hold switch on and off and now my iPod seems to be permanently locked. I had been having trouble syncing music, When I tried to sync, iTunes said it didn't recognize my iPod, even though I was on the iPod page in iTunes which showed the model number and the serial number of my iPod

    I am having essentialy the same problem, but my iPod came from a PC and is now on a PC. The person who gave me the iPod didn't give me the wall adapter piece, so I bought a "Griffin" brand that was said to be compatible with this model. When I first plugged it into the wall, the Apple appeared with a bar underneath as though it was loading the new software. When the bar got to the end, the "plug into the wall" icon reappeared, but when I plug it in to the wall now, that icon is the only thing that shows, even after resetting and trying to run diagnostics.
    When I doc the iPod on a charger I have or plug the USB into my computer and "reset" it, a battery with a charge icon appears, but there is no "motion" in the icon so it doesn't appear to be charging. The screen eventually goes back to the apple then to the "plug it into the wall" icon. HELP!!! Is is possible the wall adapters isn't the right one? Should I be charging through a firewire cable instead (which I also don't have...)?
    Message was edited by: shenards
    Message was edited by: shenards

  • How to turn on and off pop up blocker on mac notebooks

    how to turn on and off pop up blocker on mac notebooks?

    Safari / Preferences / Security. It's a checkbox.

  • TS3048 unable to connect to keyboard. System does not detect keyboard even after switching on and off. Mouse working fine. Earlier was working fine. Keyboard is not detectable by I mac . Tried a different keyboard same problem.

    Changed batteries of keyboard -initially connected but now does not connect. Used a diffeerent keyboard -same result. Keyboard not seen in bluetooth devices.Switching on and off as well as re booting has not helped. Keyboard light continues to blink.

    Hey Gautam5058,
    Thanks for the question, and welcome to Apple Support Communities.
    The following articles provide troubleshooting steps that may help to resolve your issue:
    Apple Wireless Keyboard: Difficulty during pairing process
    http://support.apple.com/kb/TS1569
    Bluetooth Quick Assist
    http://support.apple.com/kb/HT1153
    You may also want to try resetting your computer's PRAM and NVRAM.
    To resolve this issue:
    1. Turn the Apple Wireless Keyboard off.
              - For an aluminum Apple Wireless Keyboard, hold the keyboard's power button for more than 3 seconds.
              - For a white Apple Wireless Keyboard, turn over the keyboard, and turn the power switch to the off position.
    2. Click the "Continue" button as the Setup Assistant instructs.
    3. Power the Apple Wireless Keyboard back on.
    4. Enter the 8-digit passkey and press Return. Important: You MUST press Return after you enter the 8 digit code.
    Thanks,
    Matt M.

  • HT201263 After updating to the ios6 my ipod was going on and off displaying the apple icon and then had a white screen that had multi colors on it. Then it had a blue screen.plz help me

    I was updating my iPod touch 4g to the ios6 and it told me to hook it up to the iTunes and so I did. After doing that the computer told me to restore I tried and it didn't work. My ipod then was Turing on and off displaying the apple icon then my screen turned white with rainbow colors going down the screen then at some point my ipod had a multi colored blue screen. The screen was no longer blue after I let it die. Plz help I can't find any solutions.

    Try:
    - iOS: Not responding or does not turn on
    - If not successful and you can't fully turn the iPod fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - If still not successful that indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.

  • Classic: will not recharge; apple logo flashes every few seconds then fades away; have tried the 'reboot' advice i.e. move hold switch on and off, hold menu and center button, no success.  have tried this many times and kept connected for several hours.

    I have a classic, several years old.
    It will not recharge; the Apple logo flashes every few seconds then disappears. 
    I have tried the 'reboot' advice i.e. move the Hold switch on and off, hold the Menu and Center buttons, no success. 
    I have tried this many times and kept the ipod connected for several hours.  And I have tried two different cords, one connected to the desktop computer, one connected to electrical outlet.

    Hi enbridge4,
    If your iPod Classic won't charge or turn on, you may find the following articles helpful:
    Apple Support: iPod won't turn on
    http://support.apple.com/kb/ts1383
    Apple Support: iPod's battery doesn't charge
    http://support.apple.com/kb/ta44551
    Regards,
    - Brenden

  • Iphone keeps switching on and off every 5 mins and on automaticly.

    phone keeps switching on and off every 5 mins automaticly. I don't know what to do. I just did Hard Reset and it still switches off every 5 min. Please help !

    To make sure that this is not  software related, set it back to factory settings, explained in this article:
    Use iTunes to restore your iOS device to factory settings - Apple Support
    You might have to use recovery mode to do so, if it is not recognized in iTunes:
    If you can't update or restore your iOS device

  • Received recent update on Bionic, now I can't switch on and off my 4GLTE to 3GCDMA- anyone know a work around?

    Received recent update on Bionic, now I can't switch on and off my 4GLTE to 3GCDMA- anyone know a work around?

    search is your friend; see this thread:
    https://community.verizonwireless.com/thread/786340

  • 5310 switches on and off automatically

    Hello everyone!
    Could anyone help please? My 5310 XpressMusic switches on and off by itself! I thought it was a viru, but some people say it cannot be infected with a virus since its OS is Symbian. What makes me wonder is that it sometimes goes to Profiles automatically and starts to change modes, general, silent, outdoor, etc and in the end it'll switch off! What makes it do so if it's not a virus?
    Thank you in advance!
    Uthman,

    Your phone is not even Symbian, it is Nokia's in-house OS which absolutely cannot catch viruses. You must have a glitch in your software, try a software update (www.nokia.com/software update) or visit a Nokia service point - your phone is a fairly new model, so I imagine it must be under warranty still.

Maybe you are looking for

  • Is there any Standard BAPI's to update the table BP021?

    Hi, I am developing an inbound program to update the Business Partner Master(BP021) table. I need to update the field 'Staff_Count' in that table. Is there any BAPI's available to update the BP021 table? Thanks in advance for your help.. Poornima

  • Process Flow SD - PS - PP - MM - FI

    Hi Gurus, I am SD Support consultant. I would like know the complete process that involve in manufacturing industry. Process I understud is as follow Sales => Inquiry - estimation - Quotation - Order - Delivery - Billing - Excise After Order I am cre

  • Use N95 as access point and get laptop inet throug...

    Is it possible to use the N95 as an (WIFI) access point and use a laptop, a psp, an ipod touch to access the internet through 3G or even Turbo 3G? That would be really really cool! Regards Raptor

  • 10gr2 rac installation

    Hi, this is the first time i use different ip on both rac nodes. Will this post a problem? for example public ip: node 1 192.168.0.100 node 2 192.168.0.101 I am not sure the following errors related to the public IPs above, but I am seeing. css.log 2

  • Lining up effects on text aligned to circle

    I'm working on text that will go on a cd. The text I'm trying to create is actually two sets of outlined text that have gradients and effects applied to them. The client wants the text aligned in an arc approach on the cd - so what I did is created a