473,396 Members | 1,923 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

How do you show raw string values in Autos, Locals, or Watch windows?

I always get annoyed with the fact that the debugger (in 2005) started
displaying text with escape sequences instead of the real value of the
text e.g. "C:\temp\file.txt" shows as "C:\\temp\\file.txt". I
couldn't seem to find any place to change this and any searches on
these groups didn't seem to turn up anything.
I'm I the only one who can't stand this? Especially when there are
lots of slashes, braces or quotes.
Oct 6 '08 #1
2 1737
On Mon, 06 Oct 2008 13:47:44 -0700, Israel <is**********@hotmail.com>
wrote:
I always get annoyed with the fact that the debugger (in 2005) started
displaying text with escape sequences instead of the real value of the
text e.g. "C:\temp\file.txt" shows as "C:\\temp\\file.txt". I
couldn't seem to find any place to change this and any searches on
these groups didn't seem to turn up anything.
I'm I the only one who can't stand this? Especially when there are
lots of slashes, braces or quotes.
If it didn't do that, how would you know the difference between a string
containing (for example) a backslash followed by the letter n and a string
containing a newline character? Both would be displayed the same.

I suspect you are in fact the only one, or at least one among very few,
who can't stand this. Quoting display of strings in the debugger is an
important aspect to presenting the information in an unambiguous way.

Pete
Oct 6 '08 #2
On Oct 6, 6:27*pm, "Peter Duniho" <NpOeStPe...@nnowslpianmk.com>
wrote:
On Mon, 06 Oct 2008 13:47:44 -0700, Israel <israeldip...@hotmail.com*
wrote:
If it didn't do that, how would you know the difference between a string *
containing (for example) a backslash followed by the letter n and a string *
containing a newline character? *Both would be displayed the same.

I suspect you are in fact the only one, or at least one among very few, *
who can't stand this. *Quoting display of strings in the debugger is an*
important aspect to presenting the information in an unambiguous way.

Pete
Everyone that I work with feels the same way. We came from C++ where
the strings displayed in the debugger were the raw strings and I just
figured everyone that came from a C++ background would feel the same
way.
The debugger would display the literal string “\n” as just “\n” anda
newline as the standard non-printable box. Of course with C++ strings
I could always look at the byte value easily enough by treating it as
a char array and see that there was an ASCII character 10 vs. a 8 or
something else.
I don’t have a problem with having the option of viewing it with
escape characters. I don’t even have a problem with that being the
default. I’d just like an option to view it in raw format sometimes
because it often hurts my head when I’m trying to validate in memory
data or SQL that’s about to be sent to the database and it always
takes me more than a few seconds to parse the text in my head to make
sure it’s correct.
Oct 7 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Marc Miller | last post by:
When I am debugging my .NET webforms, I cannot open my watch and locals windows nor any other of the debugging windows. Does anyone know what the catch is? Is this like the bug with the...
4
by: news.microsoft.com | last post by:
Hi, In the debug Auto and Locals window the value that has changed becomes highlighted in red, BUT the Watch window does no highlighting, why the inconsistency? Would it not be better if this...
0
by: marcel | last post by:
Hi I would like to use the Autos (or locals) controls which are available when debugging in .NET in my app. Are these available as seperate controls that I can throw any object at and it will...
0
by: Stephen Graybeal | last post by:
I am having a problem. I have inherited a custom control from a combobox and when the user inputs a value, it adds to the original text. When assigning the new value to the ComboBox.Text...
0
by: Wendy Elizabeth | last post by:
I am currently working with Visual Basic.net in the Vistual Studio.net 1.1. When I want to look at values in different variables, I will put my mouse over a field (hover of the variable). When I...
2
by: Johann Schuler | last post by:
Let's say I have a Person class with a private int age member variable. I have a get and set accessor for the Age property. When I am running the code in debug mode, I would like to have a debug...
18
by: greenflame | last post by:
I want to make a function that does the following. I will call it thefunc for short. '||Char>>' I tried the following def thefunc(s): s = "||" + s + ">>"
1
by: webmaster | last post by:
Dumb Noob question for sure. I've looked for the answer in two intro books and a cbt, and maybe I'm just missing it. I see when I do an F5 to debug and run my code ( a simple console...
7
by: supertsik | last post by:
Hi After a lot of research I didn't manage to solve the following problem: I have a table called 'Autos' with fields , , 1 ¦ Mike ¦ BMW 2 ¦ Mike ¦ Ford 3 ¦ Mike ¦ Toyota 4 ¦ Nick ¦ Audi
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.