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
 VAX 1424: stale code problem
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Uniwares
Tomato Guru

Portugal
2322 Posts

Posted - Oct 03 2005 :  3:57:05 PM  Show Profile
I still have that problem with the weird colored files after the "stale code" warning.

How to repro:
Enable edit-and-continue, debug, break, add a new variable in a new scope with the name of an existing one to the code you are broken in, continue. the compiler will issue warning 2004 (Cannot handle adding or removing a local variable with a name that is already defined more than once:).
VS will open the old code as .tmp file. The whole file is colored in purple.

sean
Whole Tomato Software

USA
2817 Posts

Posted - Oct 03 2005 :  4:09:02 PM  Show Profile
"Stale Code" is one of the "Display Items" in the "Fonts and Colors" IDE Options page - default is purple.
Go to Top of Page

Uniwares
Tomato Guru

Portugal
2322 Posts

Posted - Oct 03 2005 :  8:49:57 PM  Show Profile
Ok, but... its still a c++ source code, but totally without any syntax coloring now. And it does not apply purple to only the "stale code" but rather to the whole file.
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Oct 04 2005 :  03:47:21 AM  Show Profile
well - source code in a temp file (a non-source code file type).

You wrote "that problem with the weird colored files" - are you saying that VA is causing weird coloring or that you expect VA to color the tmp file?
Go to Top of Page

Uniwares
Tomato Guru

Portugal
2322 Posts

Posted - Oct 04 2005 :  07:57:02 AM  Show Profile
I would excpect (hope?) that VA would color it, but then again, its probably not really possible to determine what the hell is that text in the screen, just from the contents. (well, maybe compare it with the other open files and then take a best guess from the closest match)

Anyway, its not really that important. Keep that one for rainy days when all other bugs are fixed
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000