09-12-2014 06:40 AM
Hello Electrolund,
I'm sorry to hear that you are having problems with CVI 2013 SP2.
What do you mean by time constants?
Can you provide a simple project that reproduces the issue? I'll be in vacation in the next period but my coleagues could have a look at it.
Constantin.
09-12-2014 07:18 AM
Sorry, I meant "most of the time, constants dont..."
I was refering to macros and variables. When this bug starts rearing its head, when I right-click on either of those and choose "Go to definition", I get a "No definition found for..." error.
09-17-2014 01:28 PM
After much experimentation, I can state that this seems to be happing in CVI SP2 when the Toggle Exclusion feature is used on any line in any file (not just the one where the Functions in File ring problem is happening).
So I have the following example...
file1.c this file contains a few line Exclusions (CTRL + E)
file2.c after a while, it begins to exhibit the empy Functions ring
No matter what settings I have in my Environment for the "Generate browse information policy", I usually can't get the ring to repopulate in file2.c, unless I unexclude the lines in file1.c.
09-24-2014 10:03 AM
Hello ElectroLund,
Unfortunately, I still can't reproduce the issue.
Excluding lines doesn't cause browse info to be re-generated, so I don't know how excluding lines is causing this problem. Excluded lines are just treated as normal lines by browse info.
I've got some more questions for you that might help finding the issue:
1. Can you reproduce the problem only with this project, or with any project that contains 2 or more files? If you can reproduce with a smaller project could you please post it.
2. Do you use precompiled headers(Options->Build Options->Build Process Options tab - Compile with precompiled incude file)?
3. Do you load the project from a local path or from a network location?
4. In an earlier post you said "For me, it does seem to be happening more often when I go into Debugger mode on some files." What do you mean by that?
Regards,
Constantin
09-24-2014 12:10 PM
10-03-2014 04:40 AM
Hello ElectroLund,
I could reproduce the issue. It happens if you build the project with excluded lines and edit files while debugging.
There are several ways you can workaround this if it's acceptable for you. Unfortunately there is no better workaround.
- Do not build the project with excluded lines; comment the lines you don't want in the build instead.
- Do not edit files while debugging.
- Set browse info policy to "On save", so browse info is not re-generated when you edit files in debug mode.
I've created CAR ID 497261 for this issue.
Constantin.
10-07-2014 08:39 AM
Thanks for duplicating my issue.
The CTRL+E is a feature I've appreciated because it's so quick and easy. What can I say, I'm lazy and typing comment blocks to disable code sections takes an extra 3 seconds.
But I've since seen where CTRL+E is a bit dangerous. I've had CVI crash on ocassion and if it does, all CTRL+E lines get lost. I then have to go through the code to find which lines were supposed to be disabled. That's reason enough to stop using the feature, since CVI doesn't record which lines have been disabled.
08-24-2015 06:09 AM
Fixed in CVI 2015.