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
 Technical Support
 1649: random data in debug tooltips?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Uniwares
Tomato Guru

Portugal
2322 Posts

Posted - Sep 18 2008 :  09:55:17 AM  Show Profile  Reply with Quote




This happens only for some (not even complex) classes. The functions shown are totally unrelated, not even used in any context around the location.

Any ideas?

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Sep 18 2008 :  3:04:15 PM  Show Profile  Reply with Quote
Is this new in 1649 or it happened with 1647 also?
When you go the caret over these functions, what do you see in the context and definition fields?
Is Alt+G works on these functions and takes you to the correct place in source?

Edited by - accord on Sep 18 2008 3:07:57 PM
Go to Top of Page

Uniwares
Tomato Guru

Portugal
2322 Posts

Posted - Sep 18 2008 :  3:57:56 PM  Show Profile  Reply with Quote
seen in 1647 too.
Context and definition fields are correct, alt+g works fine. No idea where that comes from.

Forgot to mention its VS2003, C++.
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Sep 23 2008 :  02:37:07 AM  Show Profile  Reply with Quote
Do you have

VA Options -> Advanced -> Display -> Display comments from source files when available

turned off or on?

I have to learn more about how default intellisense and tooltips are working under VS2003 (never used default intellisense under VS2003 and I am using context and definition fields instead of tooltips), but I think tooltips are getting from default intellisense under VS2003.

So I guess your IDE's intellisense info is messed up. Can you please try to rebuild your default intellisense information by deleting your project file's .nbc file?
Go to Top of Page

Uniwares
Tomato Guru

Portugal
2322 Posts

Posted - Sep 23 2008 :  12:53:54 PM  Show Profile  Reply with Quote
Turned on, but did you notice that we are talking about "Debug tooltips" here? Those are NOT the common tooltips shown on source code, but evaluated tooltips during a debug session showing variable values.
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Sep 23 2008 :  3:30:10 PM  Show Profile  Reply with Quote
Yes, I missed that, sorry.

The info for these tooltips are comes from the IDE. Do you see the same problem if you temporarily disable Visual Assist by

VAssistX -> Enable/Disable Visual Assist X ?

If yes, this is a bug in the IDE itself. Visual Assist only coloring the tooltip, so it shouldn't mess up the text in theory.
Go to Top of Page

Uniwares
Tomato Guru

Portugal
2322 Posts

Posted - Sep 23 2008 :  6:14:23 PM  Show Profile  Reply with Quote
Damn it, it also shows with VAX disabled, so its the IDE then. Just never seen that happen before and I'm using vs2003 quite some years already.
Hmm, but then again: VAX does color the tooltips nicely if enabled, but when they are two or more lines, VAX colors only the first line :)
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Sep 24 2008 :  07:24:15 AM  Show Profile  Reply with Quote
Multi-line tooltips and VA colouring, this is an attempt to avoid colouring comments as code in tooltips. This approach has problems with overloaded functions, but helps in quite a lot of cases.

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000