472,328 Members | 1,711 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

visual studio 2003 debugger shows string escape codes

If I set a breakpoint in visual studio 2000 and viewed a local
variable (in the "locals" panel), I would see something like:

sql | "
SELECT
Operator.FirstName,
....

now I am using visual studio 2003, I see something like:

sql | "\r\nSELECT \r\n\t\t\tOperator.FirstName, ...

I often cut and paste such statements into sql query analyzer ... it
would be helpful to get back the old view.

Any ideas would be very helpful.

Thanks!

Felix
Jul 21 '05 #1
2 2300
Felix,

I don't think that you can make Watch window showing strings in the way you
need. I can propose one workaround, although it is not very nice:

In command window, type in:
Clipboard.SetDataObject(myString, true)

It should place the content of the string into clipboard and you can paste
it in other application. It should be possible to write a macro that does
this thing for you.

Hope this helps.

--
Victor Urnyshev [MSFT]
This post is "AS IS" with no warranties, and confers no rights.
--------------------
|From: fe*************************@yahoo.com (Felix)
|Newsgroups: microsoft.public.dotnet.general
|Subject: visual studio 2003 debugger shows string escape codes
|Date: 1 Jun 2004 14:47:04 -0700
|Organization: http://groups.google.com
|Lines: 20
|Message-ID: <80**************************@posting.google.com >
|NNTP-Posting-Host: 66.58.11.82
|Content-Type: text/plain; charset=ISO-8859-1
|Content-Transfer-Encoding: 8bit
|X-Trace: posting.google.com 1086126424 5596 127.0.0.1 (1 Jun 2004 21:47:04
GMT)
|X-Complaints-To: gr**********@google.com
|NNTP-Posting-Date: Tue, 1 Jun 2004 21:47:04 +0000 (UTC)
|Path:
cpmsftngxa10.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFT NGP08.phx.gbl!newsfeed00.s
ul.t-online.de!t-online.de!news.glorb.com!postnews1.google.com!not-for-mail
|Xref: cpmsftngxa10.phx.gbl microsoft.public.dotnet.general:135879
|X-Tomcat-NG: microsoft.public.dotnet.general
|
|If I set a breakpoint in visual studio 2000 and viewed a local
|variable (in the "locals" panel), I would see something like:
|
|sql | "
| SELECT
| Operator.FirstName,
|...
|
|now I am using visual studio 2003, I see something like:
|
|sql | "\r\nSELECT \r\n\t\t\tOperator.FirstName, ...
|
|I often cut and paste such statements into sql query analyzer ... it
|would be helpful to get back the old view.
|
|Any ideas would be very helpful.
|
|Thanks!
|
|Felix
|

Jul 21 '05 #2
I got this from a different group:
From the VS 2003 directory, go to
Common7\Packages\Debugger and open mcee_cs.dat in notepad. there is
documentation in that file for how to modify it. I've already added
several
of them for my types. you have to restart VS to get them to work.

On 1 Jun 2004 14:47:04 -0700, fe*************************@yahoo.com
(Felix) wrote:
If I set a breakpoint in visual studio 2000 and viewed a local
variable (in the "locals" panel), I would see something like:

sql | "
SELECT
Operator.FirstName,
...

now I am using visual studio 2003, I see something like:

sql | "\r\nSELECT \r\n\t\t\tOperator.FirstName, ...

I often cut and paste such statements into sql query analyzer ... it
would be helpful to get back the old view.

Any ideas would be very helpful.

Thanks!

Felix


Jul 21 '05 #3

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

Similar topics

1
by: Erik | last post by:
I have written an add in to the IDE that fires an event to check for processes that have started up that are in a user specified list. If one of...
18
by: Steve Litvack | last post by:
Hello, I have built an XMLDocument object instance and I get the following string when I examine the InnerXml property: <?xml...
26
by: Bruno Jouhier [MVP] | last post by:
I'm currently experiencing a strange phenomenon: At my Office, Visual Studio takes a very long time to compile our solution (more than 1 minute...
34
by: John Timbers | last post by:
I'd like to purchase Visual C# .Net for learning purposes only since it's a lot cheaper than Visual Studio (note that I'm a very experienced C++...
24
by: Paul Schauble | last post by:
I'm about to move a moderately large program from a different environment onto Windows. The program is written in C++ I have a choice of Visual...
2
by: Felix | last post by:
If I set a breakpoint in visual studio 2000 and viewed a local variable (in the "locals" panel), I would see something like: sql | " SELECT...
12
by: Nathan Sokalski | last post by:
I recently upgraded to from Visual Studio .NET 2003 to Visual Studio .NET 2005. In Visual Studio .NET 2003 when I would select 'Build' it would add...
3
by: =?Utf-8?B?UGhpbCBKb2huc29u?= | last post by:
Hi, This is an issue that happens to me and everybody else I know and I've never found a way around it. In Visual Studio (currently using 2003...
0
jwwicks
by: jwwicks | last post by:
Introduction This tutorial describes how to use Visual Studio to create a new C++ program, compile/run a program, resume work on an existing...
0
by: tammygombez | last post by:
Hey fellow JavaFX developers, I'm currently working on a project that involves using a ComboBox in JavaFX, and I've run into a bit of an issue....
0
by: tammygombez | last post by:
Hey everyone! I've been researching gaming laptops lately, and I must say, they can get pretty expensive. However, I've come across some great...
0
by: concettolabs | last post by:
In today's business world, businesses are increasingly turning to PowerApps to develop custom business applications. PowerApps is a powerful tool...
0
better678
by: better678 | last post by:
Question: Discuss your understanding of the Java platform. Is the statement "Java is interpreted" correct? Answer: Java is an object-oriented...
0
by: teenabhardwaj | last post by:
How would one discover a valid source for learning news, comfort, and help for engineering designs? Covering through piles of books takes a lot of...
0
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
by: CD Tom | last post by:
This only shows up in access runtime. When a user select a report from my report menu when they close the report they get a menu I've called Add-ins...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...

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.