Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Hover over an OpenGL function call VS 2017

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
JohannGerell Posted - Aug 09 2018 : 09:17:13 AM
As the title says, when I hover over an OpenGL function call, VS 2017 freezes, forcing a hard termination of the process.

If I disable the VA extension under VS -> Tools -> Extensions and Updates, the hang doesn't occur.

If I disable VA under its own VS menu, the hang still occurs.
11   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Aug 21 2018 : 4:27:11 PM
Thank you for the update, it is good to know this has been fixed, and also nice to know that this wasn't caused by something we were doing.
JohannGerell Posted - Aug 21 2018 : 10:28:38 AM
Great news! The mentioned glfwCreateWindow in the comments over there is the exact function call I also noticed this problem on.
jschroedl Posted - Aug 21 2018 : 09:09:08 AM
FYI - this was a Visual Studio bug. I reported it and it's been fixed in the VS 2017 15.8 release.

Here's the Developer Community bug and reply:

https://developercommunity.visualstudio.com/content/problem/255712/showing-auto-quick-info-will-hang-visual-studio.html
feline Posted - Aug 20 2018 : 2:46:34 PM
Interesting. It is also possible that it was fixed by either the IDE or VA rebuilding their symbol databases. After the fact it is hard to tell, but it is good that this is now fixed. Obviously if something like this starts happening again please do let us know, and I will do my best to help.
tony.riviere Posted - Aug 20 2018 : 10:02:45 AM
I had this issue few months ago with Visual Studio 2017 15.6. Each time the mouse hovered a glxxx function, it tooks several seconds just to evaluate the address of the function, which is quite useless 99.99% of the time. The IDE hanged with a modal popup "Evaluating expression...".

Now with the 15.8 version this issue has gone but I can't tell you if an internal bug in MSVC has been fixed or if depends on some compilation / linker options that I changed since then.
feline Posted - Aug 13 2018 : 06:55:55 AM
Yes, 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.

Does this look like a reliable crash on demand, or does it seem more random?

Can you please try a simple code sample in a new, default solution just to see if this problem is solution specific?
JohannGerell Posted - Aug 13 2018 : 04:18:59 AM
Got another repro and made a dump of the hang. Can I upload it somewhere?
feline Posted - Aug 10 2018 : 06:30:41 AM
If this happens again it would be interesting to know if this is solution specific. If it is, it is possible it is related to a corrupt IDE or VA symbol database file. But without more information this is just a wild guess.
JohannGerell Posted - Aug 10 2018 : 03:57:51 AM
Got a 100% repro rate yesterday, for a few hours of trying to find if there was some other extension or addin that caused it, but today after a reboot I cannot repro it :/

If it happens again, I'll make sure to get a dump.
ChrisG Posted - Aug 09 2018 : 7:00:46 PM
Did a quick test of this using the Doom 3 source code (which uses open gl) and was unable to reproduce. Tested in VA 2283.2 and VS 2017 with VA's extra tooltip options enabled.

I wonder what could be different? A dump would be very useful as feline has pointed out.
feline Posted - Aug 09 2018 : 11:00:03 AM
Which version of VA are you using?

Can you please go to:

VA Options -> System Info -> Copy Info

and paste the details (from the clipboard) into your reply. This will give us the basic information about your setup.

The next time you get this hang, can you please capture a mini dump of "devenv.exe" and send it to us, hopefully this will help us to understand what is going wrong here. If you are not sure how to grab a mini dump file, this page explains how to do so:

https://support.wholetomato.com/default.asp?W303

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.

I am trying to reproduce this here. Using VS2017 and VA 2283.2 I have created a new, default Windows 32 application project. In the main cpp file I have added:

#include <gl\GL.h>
void testingCallingGL()
{
	glBitmap(1, 1, 1, 1, 0, 0, NULL);
}


I just picked this function at random from this page:

https://msdn.microsoft.com/en-us/library/windows/desktop/dd374211(v=vs.85).aspx

I am not seeing any problems when I hover the mouse over this function call. Would you expect me to see the problem here with this simple code sample?

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