Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Crash when viewing strings

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
Kvasi Posted - Nov 23 2007 : 07:59:53 AM
Version 1618 & 1619 crashes when string-preview-window appears when mouse hovers over string if the string contains linebreaks.
1561, works fine.
12   L A T E S T    R E P L I E S    (Newest First)
Dans Posted - Nov 28 2007 : 3:48:10 PM
Crash dissapear
I think you found problem
pjemen Posted - Nov 28 2007 : 06:25:39 AM
quote:
Originally posted by feline

pjemen, Dans and Kvasi I have emailed you via the forum about this.



I've tested new version.
It doesn't crashed.
I replayed feline's email too.
Dans Posted - Nov 28 2007 : 04:18:52 AM
quote:
Originally posted by feline

pjemen, Dans and Kvasi I have emailed you via the forum about this.



I downloaded new version, results after testing.
feline Posted - Nov 27 2007 : 5:34:54 PM
pjemen, Dans and Kvasi I have emailed you via the forum about this.
feline Posted - Nov 27 2007 : 11:07:15 AM
pjemen I have just double checked, and I have VA set to apply colouring to everything, tooltips included.

It would make sense to me if this problem was tied to a specific string, or a specific size / length of string, or even to a specific project.

Can anyone reproduce this in a new default C++ console project?
feline Posted - Nov 27 2007 : 11:05:05 AM
Kvasi what are you doing to trigger the crash?

I have added this string to a cpp file, added a break point after it, and when the program hits the break point I hover the mouse over the variable "QUERY" to display the tooltip with the value. No crash.

I have installed the latest version of DoxyComment, still no crash.

I have added all 4 of these strings, giving the variables different names, and hovered the mouse over all of them, several times. No crash.

Clearly this problem needs fixing, but it would help if I could reproduce it first.

Dans how easily can you reproduce this?
pjemen Posted - Nov 27 2007 : 10:04:28 AM
It seems to me that this crash occurs only when Apply coloring to tooltips is on. Before it crashes tooltips is flashing.
Dans Posted - Nov 27 2007 : 07:13:44 AM
I have the same problem.
Tooltip with long or specific string kills silently VS 2005 SP1. Looks like stack overflow error.
Kvasi Posted - Nov 27 2007 : 04:13:22 AM
After some tests this is what I found.
Example code to illustrate crash:

Crashes:

static const char *QUERY =
	"SELECT n1\\n"
	"FROM n"
	;

Does not cause crash:

static const char *QUERY =
	"SELECT n1 "
	"FROM n"
	;

static char *QUERY =
	"SELECT n1\\n"
	"FROM n"
	;

static const char QUERY[] =
	"SELECT n1\\n"
	"FROM n"
	;

feline Posted - Nov 26 2007 : 09:22:14 AM
How long are the strings you are seeing this problem with?
How many new lines do they contain?
What type is holding the string? I have just tried this with std::string and char * variables and no crashes.

I could be using the "wrong" type, I might need much bigger strings, or I might need to install DoxyComment.
Kvasi Posted - Nov 26 2007 : 02:45:07 AM
Visual Studio 2005, SP1.
C.

Yes it's happening when I debug.

Other plugins: DoxyComment
And yes, you're correct, it's the tooltip (the one with a small magnifying glass to the left).
feline Posted - Nov 23 2007 : 10:01:04 AM
Which IDE are you using?
Which programming language are you using?

Is this happening when you are debugging code?

Do you have any other plugin's installed? I would not expect you to see a string preview window, I would only expect you to see a tooltip.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000