Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / November 2005

Tip: Looking for answers? Try searching our database.

Problem with Class Viewer

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Peteroid - 20 Nov 2005 08:00 GMT
I changed the name of a method in the editor while looking at it in the
Class Viewer. Now the Class Viewer can't see the new name ans still sees the
old name. This is reflected in the bars at the top that let you editor-jump
to a particular method in your class. This tool also thinks the old name is
there and the new name isn't, and jumps to a wierd location in the source
when I click on it. Now anything below the point the old named method was is
also not being jumped to or recognized correctly.

I'm afraid my source is being corrupted somehow. It still compiles and runs
just fine. Breakpoints work. But for how long?

I've tried copying the source, creating a new header file, copy the contents
into blank header file, remove old header file, rename new one to old name.
It still compiles, but it still has name-confusion problem (it remembers).
I've tried cleaning and rebuilding. I've tried closing and opening the
project. I've even tried a hard re-boot of the computer. No problems except
name-confusion problem.

Like I said, this is not causing any problems (so far), but is scary. Is
this a known problem?

For context, I'm programming using MS VS C++.NET 2005 Express in /clr mode.

[==P==]
Peteroid - 20 Nov 2005 08:10 GMT
I was able to solve the problem by renaming the header file itself, and then
rebuilding. The various other files that used the old name now complained,
and I manually changed each one of their names to the new file name. When it
compiled the class viewer had the correct info.

Still this is obviously a bug. Is it known, or should I report it somehow?

[==P==]

>I changed the name of a method in the editor while looking at it in the
>Class Viewer. Now the Class Viewer can't see the new name ans still sees
[quoted text clipped - 21 lines]
>
> [==P==]
Tarek Madkour [MSFT] - 23 Nov 2005 23:33 GMT
> I was able to solve the problem by renaming the header file itself,
> and then rebuilding. The various other files that used the old name
[quoted text clipped - 3 lines]
> Still this is obviously a bug. Is it known, or should I report it
> somehow?

Yes, that would be a bug. Please report it at:
http://msdn.microsoft.com/productfeedback

Thanks,
Signature

Tarek Madkour, Visual C++ Team
This posting is provided "AS IS" with no warranties, and confers
no rights.


Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.