- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When I use Source Browser, the source code line that the cursor jumps to does not contain the variable I am looking for. This does not happen with other projects. It seems the source browser data base is out of sync with the source code listing.
I have tried doing a rebuild all. I also went into each source file and made a small change to trick Visual Studio into recompiling each source file. Neither of these had an affect on my problem.
Does anyone have a suggestion?
I am using Visual Fortran version 6.5
Thank you.
I have tried doing a rebuild all. I also went into each source file and made a small change to trick Visual Studio into recompiling each source file. Neither of these had an affect on my problem.
Does anyone have a suggestion?
I am using Visual Fortran version 6.5
Thank you.
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I believe I have tracked down my problem. I will post it here as it may be of use to others.
When I first invoked the source browser I was prompted that the browser information was not available for my project, and to click to have build settings altered and browser information generated. I clicked and was able to use the browser with no problem. But after editing the source code the browser no longer was in sync with the code even though the source was recompiled.
Checking ?Generate Source Browse Info? under the Project-Settings-Fortran tab, cleared everything up. I guess the above prompt about having build settings automatically altered is true only for the FIRST browse session. After editing one?s source code, you must manually change the build settings for the browser info to be updated.
When I first invoked the source browser I was prompted that the browser information was not available for my project, and to click
Checking ?Generate Source Browse Info? under the Project-Settings-Fortran tab, cleared everything up. I guess the above prompt about having build settings automatically altered is true only for the FIRST browse session. After editing one?s source code, you must manually change the build settings for the browser info to be updated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't quite follow what you did - but I could imagine that if you managed to set the source browser option on the individual source file rather than the project, then this might happen. In the typical case, once you have set the option, you don't need to touch it again.
Steve
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have tried to recreate my problem with another project, but I can't. The source browser seems to always be in sync with my source code now. I do know I was having a problem before, but since I can't replicate it I don't know what I was doing wrong.
I am glad it is working good as usual.
I am glad it is working good as usual.
![](/skins/images/D3C0B914909A6564BBB97F4AD1ED1973/responsive_peak/images/icon_anonymous_message.png)
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page