PRB: ClassView Cannot Find Function That Has Been MovedLast reviewed: July 25, 1997Article ID: Q140502 |
The information in this article applies to:
SYMPTOMSIf a function definition is moved to a different place in a source file, navigating to that function from ClassView will no longer work. ClassView will jump to the line in the source file where the function used to be defined.
CAUSEClassView uses bookmarks to determine where to jump to in the file. The bookmarks are not updated until the file is saved.
RESOLUTIONSave the source file.
STATUSThis behavior is by design.
MORE INFORMATIONTo observe this behavior, save the following sample file. Move one of the function definitions to a different line, and then attempt to use ClassView to navigate to that function
Sample Code
/* Compile options needed: none */ class TestClass { public: void FuncA( void ); void FuncB( void ); void FuncC( void ); TestClass(){;} ~TestClass(){;} }; void TestClass::FuncA( void ){} void TestClass::FuncB( void ){} void TestClass::FuncC( void ){} |
Additional query words: Class View
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |