Click here to Skip to main content
15,896,727 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: Create an email in .net 3.5 Pin
Not Active4-Mar-10 0:18
mentorNot Active4-Mar-10 0:18 
Answer[Cross Post]Re: Create an email in .net 3.5 Pin
Scott Dorman4-Mar-10 4:35
professionalScott Dorman4-Mar-10 4:35 
QuestionHow to watch StringBuilder strings while debugging? Pin
LarsXYZ2-Mar-10 11:45
LarsXYZ2-Mar-10 11:45 
AnswerRe: How to watch StringBuilder strings while debugging? Pin
ProtoBytes2-Mar-10 16:28
ProtoBytes2-Mar-10 16:28 
GeneralRe: How to watch StringBuilder strings while debugging? Pin
LarsXYZ3-Mar-10 9:52
LarsXYZ3-Mar-10 9:52 
GeneralRe: How to watch StringBuilder strings while debugging? Pin
ProtoBytes3-Mar-10 12:27
ProtoBytes3-Mar-10 12:27 
GeneralRe: How to watch StringBuilder strings while debugging? Pin
LarsXYZ4-Mar-10 1:28
LarsXYZ4-Mar-10 1:28 
GeneralRe: How to watch StringBuilder strings while debugging? Pin
ProtoBytes4-Mar-10 14:36
ProtoBytes4-Mar-10 14:36 
LarsXYZ wrote:
I tried the StringBuilder visualizer from Platinum Bay & copied the dll to the visualizers folder, like:
c:\MVS_2008\Common7\Packages\Debugger\Visualizers\StringBuilderVisualizer.dll


This looks correct...


LarsXYZ wrote:
In a project I created a reference to the StringBuilderVisualizer.dll and wrote the Imports statement (Imports StringBuilderVisualizer) in the start of my code.
That didn't work & the new StringBuilderVisualizer was stated as an "unused" reference??
How can that be?
I must say that i'm quite surprised if the feature I'm asking for, isn't in the VS 2008 standard package


I don't think you need a hard refrence to the assembly, Visual Studio will pick up the visualizer automatically. Or should at least. With some visualizers there are extra steps requited to registed them with Visual Studio. Visual Studio is built to be extensible. It's not ment to be a complete solution for every vertical or horizontal market that tried to use it. Microsoft avoided this on purpose. It would make sence that StringBuilder should be something you should be able to inspect, however, due to the nature of how it is used in various Vertical and Horizontal markets it makes sence that they left the implimentation to the development team to design a custom visualizer for ther spicific needs since a hugh string can have may complicated types of data, it could be XMAL, XML, HTML, searialzed String objects, etc. So allowing the development team to creat and extend this feature makes perfect sence. As I have said when I use a StringBuilder I view it as mearly a container, I know exactly what is in the container and StringBuilder never does anything but the operations exposed, so if you are doing advanced things like string replacments etc, it could be useful to have a visualizer, however I sdon't beleive this is a good design practice, I just put exactly waht I want in it, if there is any preprocessing on the data that goes in I do it before and leave the contents completly as they are until such a time as I 'dump' the contents of the StringBuilder to a stream etc.

Take a look at these two MSDN articles on visualizers:

How to: Write a Visualizer[^]

How to: Use a Visualizer[^]

Let me know how it goes...

Looks like you are fustrated but making progress!
Thumbs Up | :thumbsup:
GeneralRe: How to watch StringBuilder strings while debugging? Pin
LarsXYZ7-Mar-10 5:24
LarsXYZ7-Mar-10 5:24 
GeneralRe: How to watch StringBuilder strings while debugging? Pin
ProtoBytes7-Mar-10 10:30
ProtoBytes7-Mar-10 10:30 
GeneralRe: How to watch StringBuilder strings while debugging? Pin
Sebastian Br.4-Mar-10 21:54
Sebastian Br.4-Mar-10 21:54 
AnswerRe: How to watch StringBuilder strings while debugging? Pin
Ennis Ray Lynch, Jr.3-Mar-10 10:01
Ennis Ray Lynch, Jr.3-Mar-10 10:01 
QuestionHow to convert non ATl project to ATL compatible [Moved to C/C++/MFC] Pin
cantonin2-Mar-10 5:06
cantonin2-Mar-10 5:06 
AnswerRe: How to convert non ATl project to ATL compatible Pin
Dave Kreskowiak2-Mar-10 7:44
mveDave Kreskowiak2-Mar-10 7:44 
QuestionBluetooth Addin for Visual Studio Team Suite Pin
mauricemcse28-Feb-10 1:39
mauricemcse28-Feb-10 1:39 
AnswerRe: Bluetooth Addin for Visual Studio Team Suite Pin
Not Active28-Feb-10 1:49
mentorNot Active28-Feb-10 1:49 
QuestionRe: Bluetooth Addin for Visual Studio Team Suite Pin
mauricemcse28-Feb-10 4:13
mauricemcse28-Feb-10 4:13 
AnswerRe: Bluetooth Addin for Visual Studio Team Suite Pin
Dave Kreskowiak28-Feb-10 5:30
mveDave Kreskowiak28-Feb-10 5:30 
GeneralRe: Bluetooth Addin for Visual Studio Team Suite Pin
mauricemcse28-Feb-10 9:37
mauricemcse28-Feb-10 9:37 
GeneralRe: Bluetooth Addin for Visual Studio Team Suite Pin
Dave Kreskowiak28-Feb-10 15:51
mveDave Kreskowiak28-Feb-10 15:51 
QuestionCan't update if database fields is more than 8 Pin
akosidandan27-Feb-10 4:59
akosidandan27-Feb-10 4:59 
AnswerRe: Can't update if database fields is more than 8 Pin
Dr.Walt Fair, PE27-Feb-10 6:05
professionalDr.Walt Fair, PE27-Feb-10 6:05 
GeneralRe: Can't update if database fields is more than 8 Pin
akosidandan27-Feb-10 13:07
akosidandan27-Feb-10 13:07 
GeneralRe: Can't update if database fields is more than 8 Pin
akosidandan27-Feb-10 17:51
akosidandan27-Feb-10 17:51 
GeneralRe: Can't update if database fields is more than 8 Pin
Dr.Walt Fair, PE27-Feb-10 18:52
professionalDr.Walt Fair, PE27-Feb-10 18:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.