Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Feature Requests
 Do not display hover text for large constants
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

dark_cephas
New Member

Canada
3 Posts

Posted - Apr 05 2018 :  7:37:07 PM  Show Profile  Reply with Quote
For vars like

const unsigned char g_pRayGenerationShaderSSRLib[] = {
0x44, 0x58, 0x42, 0x43, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, ... thousands of bytes

Please dont try to put this data in a hover box if the mouse highlights over it.

I think that visual assist is causing my VS to crash all the time when looking at the Direct X Raytracing samples

Peter McNeeley

feline
Whole Tomato Software

United Kingdom
17012 Posts

Posted - Apr 06 2018 :  09:15:14 AM  Show Profile  Reply with Quote
I have downloaded the Direct X Raytracing samples, and found the project with this variable, but it has no definition for me. So I am not sure if I have missed a step. So I set up a test case with your line copied and pasted many times, and I am seeing the IDE stop responding for several seconds while VA tries to show the tooltip. So I have a significant problem here, but so far no sign of any crashes.

When you see a crash, does there seem to be any pattern to what triggers it? If the mouse hover and tooltip seems to be the trigger, how large are your data blocks? The block I am testing is 955 lines long, with a size of 70,000 characters in a text editor, so a bit over 11,000 bytes.

I have put in a bug report for the very slow, and over sized tooltip:

case=115590

zen is the art of being at one with the two'ness
Go to Top of Page

dark_cephas
New Member

Canada
3 Posts

Posted - Apr 06 2018 :  10:03:29 AM  Show Profile  Reply with Quote
the variable is in a header file that is 216k in size and 3k lines. This is a generated file.

I still havent disabled Visual Assist to see if it is indeed that which is crashing VS.

Peter McNeeley
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
17012 Posts

Posted - Apr 06 2018 :  11:29:37 AM  Show Profile  Reply with Quote
Are you seeing these crashes on demand? Or are they happening in a more random manor?

Assuming these crashes are on demand, can you please try disabling VA, and see if this stops the crash? The simple way of disabling VA is to use:

VAssistX -> Enable/Disable Visual Assist X

this will probably stop the crash, if it is as simple as the tooltip has to much text. If this does not stop the crash, can you please disable VA via the dialog:

IDE tools menu -> Extensions and Updates...

which will require an IDE restart. Does this stop the crash?

If it does, would it be possible to get a copy of this single header file, purely for testing purposes? I understand this is often not possible, but it would make sure I am testing the right thing if it was possible. Please submit the files via the form:

http://www.wholetomato.com/support/contact.asp

including this thread ID or URL in the description, so we can match it up.

zen is the art of being at one with the two'ness
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - May 01 2018 :  4:49:04 PM  Show Profile  Reply with Quote
case=115590 is fixed in build 2270
Go to Top of Page

dark_cephas
New Member

Canada
3 Posts

Posted - May 03 2018 :  7:33:23 PM  Show Profile  Reply with Quote
Thx great work. I will check it out when i can.

Peter McNeeley
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2019 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000