11-06-2014 09:36 AM
Hello Electrolund,
From your log I can see that after hitting continue there is no communication between CVI and the debugger. Initially I suspected that there is intense comunication due to big amount of watchpoints and other debugging stuff, but it's not the case.
The other 2 errors windows you got I can see if I kill cvidebug.exe while stopped at a breakpoint.
When you hit continue does the program continue or it is also stopped?
Could you make a copy of the project to a location that is not linked to SVN and see if it also happens in this case.
Constantin
11-06-2014 09:42 AM
When I hit continue, or even Go To Cursor (F7), the cvidebug.exe will hange and the cvi.exe appears as if it is crashed. If I kill cvidebug.exe, cvi.exe throws that dialog that states "...did not receive a reply to a debugging message ." At this point CVI returns from the brink. But I have to click the debug green arrow button again to re-enter debugger.
I will have to try the copy of the project in a non-SVN capacity. Updates to follow...
11-06-2014 09:46 AM
I was asking about the program written in CVI you are debugging. Does it continue or it stays frozen?
11-06-2014 09:48 AM
11-06-2014 10:00 AM
Ok, I have some results of the test. Here's how I set it up:
Then I did a similar breakpoint test. Same cvidebug.exe crash as other original SVN-based project. Here's the breakpoint setup that produced the crash:
11-06-2014 12:09 PM
Here's another interesting clue. This project is now consuming about 100 MB of my PC RAM (!) when loaded.
By comparison, two other projects take about:
These two projects are considerably smaller in scale. But who cares?! These RAM measurements are just cvi.exe when the CWS file is first opened. Not the debugger running.
So what in the world is chewing up that much more memory on the problem project?
11-07-2014 03:16 AM - edited 11-07-2014 03:19 AM
Hello Electrolund,
The high memory consumption is probably due to browse info since you have a fairly large project.
Could you disable browse info and see if the problem occurs in this case.
Constantin.
11-07-2014 10:56 AM - edited 11-07-2014 11:04 AM
Disabled browse info. Re-did the test as shown above with the same breakpoint and F7 test. cvidebug.exe hung there again.
On another note, since disabling the browse info completely, my memory consumption on this project is WAY down (~20MB from +100).
As a simple test, I played with the options for Browse Info and here are the memory footprints (MB):
Despite the various ON types, they all consume a tremendous amount on large projects.
This is a real shame, since the feature is particluarly needed on larger projects.
11-10-2014 10:21 AM
So the problem is not high memory consumption...
You said you had the same problem with another, completely different project. Was the other project also big?
It would be useful if you could reproduce this with a small project that you could post, otherwise I don't see any way to investigate further.
Constantin
11-10-2014 10:50 AM
The other project is maybe half the size. Also less than half the memory footprint too.
I will work on stripping this project down so that I can share it with you. Is there a private mechanism for posting projects?